View Single Post
  #2  
Old March 23rd 10, 05:38 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Pull Data From Non-Default Calendar

Set colCal =
objNS.GetDefaultFolder(olFolderCalendar).Folders.I tem("Instructor
Schedule").Items


--
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


"eckert1961" wrote in message
...
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
--
Regards,
Chris


Ads