• Subject: Re: macro to include email signature
  • Author: steve sharpe
  • Date: 02 Jun 2010
  • References: 1 2 3 4
Thanks Ken. That worked Your'e a star!

Regards

Steve

'Ken Slovak - [MVP - Outlook Wrote:
> ;349299']I'm not sure. Let's see what happens first if you comment out
> the line
> myItem.Body = "body text" & myItem.Body. Do you get the signature then?
> If
> so and the body format is HTML, then see if it helps to use this line
> instead:
>
> myItem.HTMLBody = "body text" & myItem.HTMLBody
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "steve sharpe" steve.sharpe.63c5970@outlookbanter.com wrote in message
>
> news:steve.sharpe.63c5970@outlookbanter.com...-
>
> Hi Ken
> Thankyou for youir reply. What have I done wrong? I think I have
> altered my code as you suggested but it does not make any difference.
> Here's what I wrote... Would you be kind enough to point out my
> mistake?
>
> Sub InsertMySig()
> 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.Display
> myItem.Body = "body text" & myItem.Body
> myAttachments.Add "C:\Documents and settings\etc"
> End Sub
>
> I look forward to hearing from you.
> Best wishes
>
> Steve-




--
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)