View Single Post
  #2  
Old April 1st 09, 03:21 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Select a folder in Outlook (in code)

Get the folder you want to become the current folder then use the
ActiveExplorer().CurrentFolder property to set the folder in the
ActiveExplorer. That object property takes a MAPIFolder object.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Koen Verwimp" wrote in message
...
Hey,

Is it possible to simulate "clicking a folder" programmatically.
I'm using VSTO C# .net.

Thank you,
Koen Verwimp


Ads