View Single Post
  #1  
Old December 14th 06, 02:48 AM posted to microsoft.public.outlook.program_addins
n777krish@gmail.com
external usenet poster
 
Posts: 23
Default Outlook 2007 Click a Button on the Ribbon through Code

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.

Ads
 

Web Advertising - Cell Phones - Pacotes Carnaval Salvador - Web Advertising - Best Credit Cards