How re referance a non defualt outlook 2007 calendar

G

Gary.

I am working with office 2007
I have some code in Access 2007 that allows me to enter and appointment
into the default outlook 2007 calendar.
I would like to have appointments sent to a non default calendar. My
problem is how to reference a non default calendar in out4ook 2007
 
D

Dmitry Streblechenko

Set CalendarFolder = Application.Session.GetDefaultFolder(olFolderCalendar)
set SubFolder = CalendarFolder.Folders("Test(PersonalFolders)")

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top