Pull Data From Non-Default Calendar

  • Thread starter Thread starter eckert1961
  • Start date Start date
E

eckert1961

Hello,

I am running Outlook 2003 and I have a macro that pulls data from the
default calendar. I created a new calendar named "Instructor Schedule" which
is a subfolder under Calendar. I would like to change the code so that the
data is pulled from the new calendar. Currently I am using the following code.

Set colCal = objNS.GetDefaultFolder(olFolderCalendar).Items

What change would I need to implement to get my desired results? Thanks.

Regards,
Chris
 
Set colCal =
objNS.GetDefaultFolder(olFolderCalendar).Folders.Item("Instructor
Schedule").Items
 
Back
Top