LookupNameProperties Method

Microsoft Word Visual Basic

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.

expression.LookupNameProperties(Name)

expression    Required. An expression that returns an Application object.

Name   Required String. A name in the global address book.

ShowLookupNameProperties method as it applies to the Range object.

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.

expression.LookupNameProperties

expression    Required. An expression that returns a Range object.

Example

ShowAs it applies to the Application object.

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"
				

ShowAs it applies to the Range object.

This example looks up the selected name in the address book and displays the Properties dialog box for that person.

Selection.Range.LookupNameProperties