Düzenle

Aracılığıyla paylaş


AddressEntries object (Outlook)

Contains a collection of addresses for an AddressList object.

Remarks

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

Example

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)

Methods

Name
Add
GetFirst
GetLast
GetNext
GetPrevious
Item
Sort

Properties

Name
Application
Class
Count
Parent
Session

See also

Outlook Object Model Reference AddressEntries Object Members

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.