Turn off Signatures in Custom Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've created a custom form that will be used in a corporate controlled
environment by many users. Is there a way for me to configure the custom
form to reject the auto signature altogether? I am unable to run hotfixs on
each computer and the versions of Outlook varies throughout the company. I
have very limited VBA skills so as much detail as possible would be greatly
appreciated.
 
Did you try putting code in the form's Item_Open event handler so that for new items, it always resets the Body or HTMLBody property?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
No, I do not know anything about an Item_Open event handler. Do you have a
link that I could refer to? Would this delete message each time a user replys
or forwards? I need for the message to stay attached with the header
information.
 
For basics on Outlook form development (which is what this is), see http://www.outlookcode.com/d/forms.htm.

This code deletes any text already present in a newly created message, including replies and forwards:

Function Item_Open()
If Item.Size = 0 Then
Item.Body = ""
End If
End Function

If you want to keep the reply/forward header, then you'll need to do some text parsing using the Instr() function to locate the text that indicates the beginning of the header and Mid() to get the part of the message from that point forward. Warning: It can get a big complicated if you are dealing with HTML-format messages and want to preserve formatting.

You can look up both methods and do your testing in Outlook's VBA Help. If you're new to Outlook VBA macros, these web pages should help you get started:

http://www.winnetmag.com/Articles/Index.cfm?ArticleID=21522&pg=1
http://www.outlookcode.com/d/vb.htm


--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top