How do I access multiple (outlook) calendars with VBA?

V

Vijay

Hi,

I have an external calendar configured in Outlook via a calendar plugin.
Using VBA, how do I access this calendar? The following code snippet only
allows me to access the default calendar in Outlook:

Set myOlApp = CreateObject("Outlook.Application")
Set myNameSpace = myOlApp.GetNameSpace("MAPI")
Set myCalendar = myNameSpace.GetDefaultFolder(olFolderCalendar)

But I have no idea what the API is to access other calendars (or even find
out how many caledars there are, etc.).

Any help would be greatly appreciated.

Thanks in Advance!
 
Top