C
Chaplain Doug
Outlook 2003. I am currently reading my default contacts folder from some
code in Excel using:
Dim olApp As New Outlook.Application
Dim olNS As Outlook.Namespace
Dim ctFolder As Outlook.MAPIFolder
Set olNS = olApp.GetNamespace("MAPI")
Set ctFolder = olNS.GetDefaultFolder(olFolderContacts)
Set ctFolderItems = ctFolder.Items
This gets my "default" contacts folder. Instead I would like to read a
".pst" file located elsewhere (H:\Shared Contacts\Shared Contacts.pst). How
would I access the contacts folder in this file rather than my default
contacts folder?
code in Excel using:
Dim olApp As New Outlook.Application
Dim olNS As Outlook.Namespace
Dim ctFolder As Outlook.MAPIFolder
Set olNS = olApp.GetNamespace("MAPI")
Set ctFolder = olNS.GetDefaultFolder(olFolderContacts)
Set ctFolderItems = ctFolder.Items
This gets my "default" contacts folder. Instead I would like to read a
".pst" file located elsewhere (H:\Shared Contacts\Shared Contacts.pst). How
would I access the contacts folder in this file rather than my default
contacts folder?