Where does Outlook store signatures?

  • Thread starter Thread starter David Park
  • Start date Start date
D

David Park

I need to determine whether a user has Outlook 2003 setup to automatically
insert a signature for new messages, replies, or forwards. How can I use VBA
to determine this?

Thanks for your help.
 
It sounds like you want to programmatically check whether the
"Signature for new messages" box is filled in. My guess is that it
isn't possible.

--JP
 
JP - Yes, that is exactly what I want to do. I am hoping that someone would
be able to tell me how Outlook determines that the user has selected a
signature under the Tools -> Options -> Mail Format -> Signatures menu
options and then fills in the user's selected signature. I've checked the
Outlook object model and the Inspectors and CommandBars without success.

If anyone can point me in the right direction, I would truly appreciate it.

Thanks,
Dave
 
I need to determine whether a user has Outlook 2003 setup to automatically
insert a signature for new messages, replies, or forwards. How can I use VBA
to determine this?

I'm pretty certain that's not exposed to the Outlook Object Model, and it seems to be a general area of black magic; see <http://207.46.16.252/en-us/magazine/2006.10.heyscriptingguy.aspx>, <http://support.microsoft.com/kb/938360>, and registry keys like

HKCU\Software\Microsoft\Office\nn.m\Common\MailSettings

HKCU\Software\Microsoft\Office\nn.m\Outlook\Signatures

HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\profilename\9375CFF0413111d3B88A00104B2A6676\number

and their values.

I think you are better off distributing a memo telling your staff what they have to do, why, and how.
 
In addition to Michael, in Outlook 2003 you can determine different
signatures for each account and profile. The accounts of a profile are
listed under:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\[profile name]\9375CFF0413111d3B88A00104B2A6676

Under each account see if there's an entry called 'New Signature'. If so,
the user has set Outlook to insert the mentioned signature automatically for
new emails.

For replies and forwards the entry in the registry is called 'Reply-Forward
Signature'.

--
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, 22 Sep 2009 11:13:02 -0700 schrieb David Park:
 
Michael - Thank you for the references. I think they will lead me in the
right direction.

Dave

Michael Bauer said:
In addition to Michael, in Outlook 2003 you can determine different
signatures for each account and profile. The accounts of a profile are
listed under:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\[profile name]\9375CFF0413111d3B88A00104B2A6676

Under each account see if there's an entry called 'New Signature'. If so,
the user has set Outlook to insert the mentioned signature automatically for
new emails.

For replies and forwards the entry in the registry is called 'Reply-Forward
Signature'.

--
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, 22 Sep 2009 11:13:02 -0700 schrieb David Park:
I need to determine whether a user has Outlook 2003 setup to automatically
insert a signature for new messages, replies, or forwards. How can I use VBA
to determine this?

Thanks for your help.
 
David Park said:
I need to determine whether a user has Outlook 2003 setup to automatically
insert a signature for new messages, replies, or forwards. How can I use VBA
to determine this?

Thanks for your help.
 
Along the same lines, I am trying to use a macro within the outlook 2007
appointment to insert a signature...without any positive results. The VBA
code is written, it works in word, and I just get errors within the new
appointment box. Any suggestions?

dd

David Park said:
Michael - Thank you for the references. I think they will lead me in the
right direction.

Dave

Michael Bauer said:
In addition to Michael, in Outlook 2003 you can determine different
signatures for each account and profile. The accounts of a profile are
listed under:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\[profile name]\9375CFF0413111d3B88A00104B2A6676

Under each account see if there's an entry called 'New Signature'. If so,
the user has set Outlook to insert the mentioned signature automatically for
new emails.

For replies and forwards the entry in the registry is called 'Reply-Forward
Signature'.

--
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, 22 Sep 2009 11:13:02 -0700 schrieb David Park:
I need to determine whether a user has Outlook 2003 setup to automatically
insert a signature for new messages, replies, or forwards. How can I use VBA
to determine this?

Thanks for your help.
 
Back
Top