AddressEntries Object
Collapse the table of content
Expand the table of content

AddressEntries Object (Outlook)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Contains a collection of addresses for an AddressList object.

The object may contain zero or more AddressEntry objects and provides access to the entries in a transport provider's address book container.

The following example sets a reference to an AddressEntries object.

Set myNameSpace = Application.GetNameSpace("MAPI") 
Set myAddressList = myNameSpace.AddressLists("Personal Address Book") 
Set myAddressEntries = myAddressList.AddressEntries

You can also index directly into the AddressEntries object, returning an AddressEntry object.

Set myAddressEntry = myAddressList.AddressEntries(index)
© 2016 Microsoft