G
Guest
Hi All,
The following snippet of VBA code running in MS Access connects me to Outlook and allows me to update items in the Outlook contact folder from Access.
Dim App As Outlook.Application
Dim Namespace As Outlook.Namespace
Dim Contacts As Outlook.MAPIFolder
Dim Item As Outlook.ContactItem
Set App = CreateObject("Outlook.Application")
Set Namespace = App.GetNamespace("MAPI")
Set Contacts = Namespace.GetDefaultFolder(olFolderContacts)
Set Item = Namespace.GetItemFromID( ... )
I would like to be able to update contact items on a different computer, a workstation on our peer-to-peer LAN. This means that I have to be able to establish a connection to the Outlook .pst file on that computer and update it from the computer where the Access code is ruinning.
Is there a way to do this? Thanks.
The following snippet of VBA code running in MS Access connects me to Outlook and allows me to update items in the Outlook contact folder from Access.
Dim App As Outlook.Application
Dim Namespace As Outlook.Namespace
Dim Contacts As Outlook.MAPIFolder
Dim Item As Outlook.ContactItem
Set App = CreateObject("Outlook.Application")
Set Namespace = App.GetNamespace("MAPI")
Set Contacts = Namespace.GetDefaultFolder(olFolderContacts)
Set Item = Namespace.GetItemFromID( ... )
I would like to be able to update contact items on a different computer, a workstation on our peer-to-peer LAN. This means that I have to be able to establish a connection to the Outlook .pst file on that computer and update it from the computer where the Access code is ruinning.
Is there a way to do this? Thanks.