![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
i have a macro that creates a new mail from a template. this is the code. Sub NewMail() Dim objOLApp As Outlook.Application Dim NewMail As Outlook.MailItem Set objOLApp = New Outlook.Application Set NewMail = objOLApp.CreateItemFromTemplate("O:\IT\email\Plast _VelkommenNykunde.msg") NewMail.SentOnBehalfOfName = " NewMail.Display End Sub i want it not to add the default signature, anybody know how? -- regards - Henrik Thomsen - hthomsen.dk |
Ads |
#2
|
|||
|
|||
![]() After the signature has been inserted, just overwrite the Body property. -- Best regards Michael Bauer - MVP Outlook : Outlook Categories? Category Manager Is Your Tool : VBOffice Reporter for Data Analysis & Reporting : http://www.vboffice.net/product.html?pub=6&lang=en Am Tue, 8 Sep 2009 03:18:01 -0700 schrieb hthomsen: Hi, i have a macro that creates a new mail from a template. this is the code. Sub NewMail() Dim objOLApp As Outlook.Application Dim NewMail As Outlook.MailItem Set objOLApp = New Outlook.Application Set NewMail = objOLApp.CreateItemFromTemplate("O:\IT\email\Plast _VelkommenNykunde.msg") NewMail.SentOnBehalfOfName = " NewMail.Display End Sub i want it not to add the default signature, anybody know how? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
outlook signature added to automated messaging? | Kyle G | Outlook and VBA | 2 | November 19th 08 07:48 PM |
Default Signature added by macro | DStrong | Outlook and VBA | 1 | October 18th 08 05:34 PM |
Outlook 2003 macro signature help please | John Kaess | Outlook and VBA | 4 | January 2nd 08 11:55 PM |
Can't see picture added to signature in new mail | CorrinHaupt | Outlook Express | 3 | October 11th 06 10:32 PM |
Image added in Signature shows as attachment | Sivakumar | Outlook - Using Forms | 0 | October 4th 06 07:40 AM |