Alias Property

Microsoft Word Visual Basic

Alias Property

Returns a String that represents the friendly name for the specified object.

expression.Alias

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

The following example displays the friendly name for the first schema attached to the active document.

    MsgBox Application.XMLNamespaces(1).Alias