View Single Post
  #6  
Old April 18th 06, 05:15 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Monitoring for changes

Always check the store name after getting it like that or iterate the entire
Folders collection until you find the public folders. You can't depend on a
constant index value.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Simon Woods" wrote in message
...
Simon Woods wrote:
... also

Get I get a folder by name. I've got a recursive routine which is
recursing through my off-public folders in my favorites folder. The
call
OutlookNameSpace.GetDefaultFolder

doesn't seem to offer me the top level a way into my favourites. Is
there an alternative way?


OK I've sorted this one ...

OutlookNameSpace.Folders(2) is my top level Public folder

Thanks

Simon


Ads