NameLocal Property

Applies To

Name Object, Style Object.

Description

Returns or sets the name of the object, in the language of the user. Read-write for Name, read-only for Style.

Remarks

If the style is a built-in style, this property returns the name of the style in the language of the current locale.

See Also

Name Property.

Example

This example displays the name and localized name of style one in the active workbook.


With ActiveWorkbook.Styles(1)
    MsgBox "The name of the style is " & .Name
    MsgBox "The localized name of the style is " & .NameLocal
End With