How do you select a "personal" Outlook folder using vba code
Posted on 2003-11-02
OK, I can get the properties of the default Calendar folder in Outlook using the following code:
Dim ol As New Outlook.Application
Dim olns As Outlook.Namespace
Dim cf As Outlook.MAPIFolder
Dim c As Outlook.AppointmentItem
Dim objItems As Outlook.Items
Dim Prop As Outlook.UserProperty
Dim k As Integer
Set olns = ol.GetNamespace("MAPI")
Set cf = olns.GetDefaultFolder(olFolderCalendar)
If I have a stand-alone pst file, how would I get access to that file?
If this isn't possible, then how would I get access to personal calendar file within Outlook?
This file would be under a personal folder called PRC, then the subfolder called Calendar and then another
subfolder called Church.