Programmatically C# add shortcut OL2007

P

Paulem0071

Anyone have an example of how to add an Outlook 2007 shortcut programatically
with C#

Have tried to get to it via this.ApplicationObject.ActiveExplorer.Panes with
no luck.

I have identified the OutlookBarShortCut object, but not sure how to apply it.


Thanks a lot
 
K

Ken Slovak - [MVP - Outlook]

If you get the OutlookBarShortcuts collection it has an Add() method that
lets you add a new shortcut to the collection. See the Outlook VBA Object
Browser for information about that method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top