Importing Contacts data to Word VBA

  • Thread starter Thread starter Bo Hansson
  • Start date Start date
B

Bo Hansson

My environment is: Windows 2000 and upwards, Word 2000 and upwards.
Using Word VBA code - is it possible to import Outlook Contacts data into a
register in my Word VBA application?

/BosseH
 
Am Sun, 2 Apr 2006 14:12:56 +0200 schrieb Bo Hansson:

Bosse, you can read e.g. the ContactItems from Outlook´s default contact
folder. You´d access that Items collection via:

Dim Items as Outlook.Items
Set Items=Application.Session.GetDefaultFolder(olFolderContacts).Items

Please see the Object Browser for all properties of a ContactItem.
 
Back
Top