I think you are out of luck. Your better bet is to look into accessing
the signatures and their insertion from the Outlook object model. I
don't do anything with Outlook that goes beyond the ribbon, so I'll
leave the question whether this is possible up to another replier.
Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Office 2007 RTM Issues:
http://pschmid.net/blog/2006/11/13/80
Office 2007 Beta 2 Technical Refresh (B2TR):
http://pschmid.net/blog/2006/09/18/43
***
Customize Office 2007:
http://pschmid.net/office2007/customize
RibbonCustomizer Add-In:
http://pschmid.net/office2007/ribboncustomizer
OneNote 2007:
http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog:
http://pschmid.net/blog/feed
" wrote in message
ups.com:
Hello all,
I need to insert a signature into an E-mail through code in Outlook
2007.
Does anyone know how I may be able to execute one of the Signatures
from the Signature menu on the Ribbon?
I know about the ExecuteMso method, but how do I get the idMso for the
signatures that appear on the menu when a new signature is inserted on
the Signature menu?
I am inserting a custom signature into the menu and and I need to
insert the signature into any new inspector when it opens up.
In Outlook 2003, i was able to Find the commandbars object for the
signature menu (using FindControl(ID)) and then loop through the
commandbars collection to check the captions of the buttons and execute
the button with my custom signature.
How would I be able to achieve this in Outlook 2007?
Thank you for any help in advance.
Regards,
Neil Goundar.