Редагувати

Поділитися через


Style.NameLocal property (Excel)

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.

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.