• Subject: macro to include email signature
  • Author: steve sharpe
  • Date: 20 May 2010
  • References:
I have attached the following code to a button on the quick access bar
in Outlook. It does all I want except that "body text" erases my
default signature. Is there some additional code I could include that
would complete the email with my default signature? The default
signature uses various fonts sizes and colours. Thanks for any help.

Sub inspector()

Dim myOlApp As New Outlook.Application
Dim myItem As Object
Dim myAttachments As Outlook.Attachments
Set myItem = myOlApp.ActiveInspector.currentitem
Set myAttachments = myItem.Attachments
myItem.Subject = "Status Report"
myItem.Body = "body text"
myAttachments.Add "C:\Documents and settings\etc
myItem.Display

End Sub




steve sharpe
20 May 2010macro to include email signature.steve sharpe
20 May 2010\ Re: macro to include email signature.Ken Slovak - [MVP - O...
21 May 2010   \ Re: macro to include email signature.steve sharpe
21 May 2010      \ Re: macro to include email signature.Ken Slovak - [MVP - O...
02 Jun 2010         \ Re: macro to include email signature.steve sharpe
Contact Us
All times are in (US) Eastern Daylight Time (GMT -4:00)