U
Ulf Nilsson
Hi,
I have just installed Windows 7/Office 2010 Beta. We had Windows XP/Office
2002 before and all the macros worked fine.
I have problems with the following code:
sAddressCode = "<PR_GIVEN_NAME> <PR_SURNAME>" & vbCr & _
"<PR_COMPANY_NAME>" & vbCr & _
"<PR_POSTAL_ADDRESS>" & vbCr
sAddress = Application.GetAddress(AddressProperties:=sAddressCode, _
UseAutoText:=False, DisplaySelectDialog:=1, _
RecentAddressesChoice:=True, UpdateRecentAddresses:=True)
When I use this code the following error comes up:
Run-time error '5798':
Address Book failure: "Unspecified error". Check your mail setup. You must
have Extended MAPI version 1.0 or higher to use this feature.
Any clue? Or should I publish this question in the Outlook forum?
//Ulf
I have just installed Windows 7/Office 2010 Beta. We had Windows XP/Office
2002 before and all the macros worked fine.
I have problems with the following code:
sAddressCode = "<PR_GIVEN_NAME> <PR_SURNAME>" & vbCr & _
"<PR_COMPANY_NAME>" & vbCr & _
"<PR_POSTAL_ADDRESS>" & vbCr
sAddress = Application.GetAddress(AddressProperties:=sAddressCode, _
UseAutoText:=False, DisplaySelectDialog:=1, _
RecentAddressesChoice:=True, UpdateRecentAddresses:=True)
When I use this code the following error comes up:
Run-time error '5798':
Address Book failure: "Unspecified error". Check your mail setup. You must
have Extended MAPI version 1.0 or higher to use this feature.
Any clue? Or should I publish this question in the Outlook forum?
//Ulf