Link to home
Start Free TrialLog in
Avatar of Hitesh Prajapati
Hitesh Prajapati

asked on

How to Remove blank lines in email signature in outlook?

As per client requirement, I have to remove blank lines from reply message in Email Signature.

User generated image
2) After clicking on OutLook-->Formate Text --> Plain Text

User generated image
Here I want to remove these 5 lines using VBScript.

If Not BannerImage = "" And Not Left(BannerImage, 8) = "Excluded" Then
           debugLog("Setting Marketing Banner")

       Set Logo = selection.InlineShapes.AddPicture(BannerImage)
       document.Hyperlinks.Add logo.Range, BannerURL
       End If   

   selection.Font.Name = "Arial"
   selection.Font.Size = "7"

If recordset.Fields("co") <> "Netherlands" Then

           debugLog("Setting Facebook Logo")

   Set Logo = selection.InlineShapes.AddPicture(FacebookLogo)
   document.Hyperlinks.Add logo.Range, FacebookURL
   Logo.Height = 19
   Logo.Width = 19

End If

       debugLog("Setting LinkedIn Logo")

   Set Logo = selection.InlineShapes.AddPicture(LinkedInLogo)
   document.Hyperlinks.Add logo.Range, LinkedInURL
   Logo.Height = 19
   Logo.Width = 19

       debugLog("Setting Twitter Logo")

   Set Logo = selection.InlineShapes.AddPicture(TwitterLogo)
   document.Hyperlinks.Add logo.Range, TwitterURL
   Logo.Height = 19
   Logo.Width = 19

       debugLog("Setting YouTube Logo")

   Set Logo = selection.InlineShapes.AddPicture(YouTubeLogo)
   document.Hyperlinks.Add logo.Range, YouTubeURL
   Logo.Height = 19
   Logo.Width = 19

       debugLog("Setting Disclaimers")

       If Not Disclaimer1Text = "" Then
       selection.TypeText Chr(11)
       selection.TypeText Chr(11)

Open in new window

Please Help me on this.

Thanks in advance.
Avatar of Kimputer

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: Kimputer (https:#a42362628)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer