S
stijnsanders
I'm looking for how to change the Signature setting in Outlook using
VBA
In VBA for Word, there's a nice EmailOptions object with everything I
need,
but I would like to create a script that sets Outlook to:
- use HTML for e-mails
- not use Word for e-mails
- use a certain generated HTML as signature
- not use the signature again when replying
I found out they're supposed to be under %USERPROFILE%\Application
Data\Microsoft\Signatures,
but then... A number of these options are in the registry, but not the
selected signature name,
but changing the registry would require outlook to restart, I guess. So
I would prefer to use VBA to change this setting from an install
script.
Anybody got any idea how?
(Have I searched the net already? Yes I have, and only found
semi-solutions that involve setting HTMLBody to the content of a
signature when composing new e-mails)
VBA
In VBA for Word, there's a nice EmailOptions object with everything I
need,
but I would like to create a script that sets Outlook to:
- use HTML for e-mails
- not use Word for e-mails
- use a certain generated HTML as signature
- not use the signature again when replying
I found out they're supposed to be under %USERPROFILE%\Application
Data\Microsoft\Signatures,
but then... A number of these options are in the registry, but not the
selected signature name,
but changing the registry would require outlook to restart, I guess. So
I would prefer to use VBA to change this setting from an install
script.
Anybody got any idea how?
(Have I searched the net already? Yes I have, and only found
semi-solutions that involve setting HTMLBody to the content of a
signature when composing new e-mails)