PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Feasibility Question: Possible to pull Calendar Items from shared calendar?
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Feasibility Question: Possible to pull Calendar Items from shared calendar?
![]() |
Feasibility Question: Possible to pull Calendar Items from shared calendar? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I want to develop an automated system whereby an individual's outlook
session automatically polls a shared calendar for events happening that day. If there is an event, it is duplicated in the individual's calendar. However, there is a caveat: the owner of the shared calendar doesn't want to clutter his primary calendar, so we would have to create a new calendar...call it CHANGE_CALENDAR. Has anyone ever done this kind of thing before? I'd appreciate any guidance I can get as I'm fairly new at Outlook programming. Many thanks! |
|
|
|
#2 |
|
Guest
Posts: n/a
|
It's possible to access any calendar, given the property permissions. In the
case of a subfolder in a shared mailbox, there are two approaches you can use. One is to walk the folder hierarchy using the Folders collections or use a function that does that for you. See http://www.outlookcode.com/d/code/getfolder.htm. This approach requires that the shared mailbox be set up in the individual's profile as a secondary mailbox so that it is visible in the folder list. The other is to use CDO and a dynamic profile to logon to the mailbox. The disadvantages of the CDO method are that you have to make sure the CDO component of OUtlook has been installeds and appointments in a calendar subfolder are accessed as CDO Message objects, not as appointments, so you have to use MAPI property tags to get the data (see http://www.cdolive.com/cdo10.htm). -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Paul Thompson" <shinobi2[no-spam-thanks]@sympatico.ca> wrote in message news:vuae90to6nq42kmpu3op63q2m8m9velkc1@4ax.com... > I want to develop an automated system whereby an individual's outlook > session automatically polls a shared calendar for events happening > that day. If there is an event, it is duplicated in the individual's > calendar. However, there is a caveat: the owner of the shared > calendar doesn't want to clutter his primary calendar, so we would > have to create a new calendar...call it CHANGE_CALENDAR. > > Has anyone ever done this kind of thing before? I'd appreciate any > guidance I can get as I'm fairly new at Outlook programming. > > Many thanks! > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

