C
Craig Buchanan
I am trying to determine the most effecient way to get a user's Mailbox.
Currently, I do this:
Dim OA As New Outlook.Application
Dim NS As Outlook.NameSpace
Set NS = OA.GetNamespace("MAPI")
'get contact folder
Dim CF As Outlook.MAPIFolder
Set CF = NS.GetDefaultFolder(olFolderContacts)
'get Mailbox
Dim MB As Outlook.MAPIFolder
Set MB = CF.Parent
Is there a better way? Thanks for the help.
Craig
Currently, I do this:
Dim OA As New Outlook.Application
Dim NS As Outlook.NameSpace
Set NS = OA.GetNamespace("MAPI")
'get contact folder
Dim CF As Outlook.MAPIFolder
Set CF = NS.GetDefaultFolder(olFolderContacts)
'get Mailbox
Dim MB As Outlook.MAPIFolder
Set MB = CF.Parent
Is there a better way? Thanks for the help.
Craig