Share via


Style.NameLocal Property

Excel Developer Reference

Returns or sets the name of the object, in the language of the user. Read-only String.

Syntax

expression.NameLocal

expression   A variable that represents a Style object.

Remarks

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

Example

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

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

See Also