AddressEntries.Add method (Outlook)
Adds a new entry to the AddressEntries collection.
Syntax
expression.Add (Type, Name, Address)
expression An AddressEntries object that represents the new entry.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Type | Required | String | The type of the new entry. |
Name | Optional | Variant | The name of the new entry. |
Address | Optional | Variant | The address. |
Return value
An AddressEntry object that represents the new entry.
Remarks
New entries or changes to existing entries are not persisted in the collection until after calling the Update method.
See also
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.