LookupNameProperties Method
Applies To
Application object, Range object.
Description
Looks up a name in the global address book list and displays the Properties dialog box, which includes information about the specified name. If this method finds more than one match, it displays the Check Names dialog box.
Syntax 1
expression.LookupNameProperties(Name)
Syntax 2
expression.LookupNameProperties
expression Required. An expression that returns an Application object (Syntax 1) or a Range object (Syntax 2).
Name Required String. A name in the global address book.
See Also
AddAddress method, GetAddress method.
Example
This example looks up the name Don Funk in the address book and displays the Properties dialog box for Don Funk.
Application.LookupNameProperties Name:="Don Funk"
This example looks up the selected name in the address book and displays the Properties dialog box for that person.
Selection.Range.LookupNameProperties