![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#2
|
|||
|
|||
![]()
Hi Will. The GetSharedDefaultFolder method is what you want to use. Here's
some sample code from the Outlook VBA help file that should set you on your way. If you need more help, let me know. Sub ResolveName() Dim myOlApp As Outlook.Application Dim myNamespace As Outlook.NameSpace Dim myRecipient As Outlook.Recipient Dim CalendarFolder As Outlook.MAPIFolder Set myOlApp = CreateObject("Outlook.Application") Set myNamespace = myOlApp.GetNamespace("MAPI") Set myRecipient = myNamespace.CreateRecipient("Dan Wilson") myRecipient.Resolve If myRecipient.Resolved Then Call ShowCalendar(myNamespace, myRecipient) End If End Sub Sub ShowCalendar(myNamespace, myRecipient) Dim CalendarFolder As Outlook.MAPIFolder Set CalendarFolder = _ myNamespace.GetSharedDefaultFolder _ (myRecipient, olFolderCalendar) CalendarFolder.Display End Sub -- Eric Legault - MVP - Outlook MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, WSS 3 Application Development, MOSS 2007 Application Development) Blog: http://blogs.officezealot.com/legault Try Picture Attachments Wizard for Outlook! http://www.collaborativeinnovations.ca wrote in message ... Hi all, I'm trying to write a program that analyzes appointments in several shared calendars. I know how to use the default shared calendar, but how does one specify a shared calendar by the AD name of the calendar owner? I'm new to Outlook VBA, so please show mercy on me. ![]() Thanks, Will |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shared Calendar in Outlook Web access | Allyjkat | Outlook - Calandaring | 3 | October 28th 07 01:25 PM |
Need to access another user's calendar, don't have shared server | Taylor Made Time | Outlook - Calandaring | 1 | October 23rd 07 02:03 PM |
unable to access shared calendar | BSUMelissa | Outlook - Calandaring | 6 | August 27th 07 02:54 PM |
How can I access a shared calendar in web access | SkyEyes | Outlook - Calandaring | 3 | June 26th 06 12:26 PM |
Cannot access shared Calendar Suddenly | steve | Outlook - Calandaring | 0 | March 28th 06 08:18 PM |