A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

remove auto added signature macro



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 8th 09, 12:18 PM posted to microsoft.public.outlook.program_vba
hthomsen
external usenet poster
 
Posts: 1
Default remove auto added signature macro

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  
Old September 8th 09, 05:10 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default remove auto added signature macro


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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 08:10 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.