语法
表达式.NameLocal
表达式 一个代表 Style 对象的变量。
说明
如果样式为内置样式,则此属性以当前系统所使用的地区语言返回样式的名称。
示例
此示例显示活动工作簿上样式一的原名称和本地化以后的名称。
let sty = ActiveWorkbook.Styles.Item(1) MsgBox("The name of the style is " + sty.Name) MsgBox("The localized name of the style is " + sty.NameLocal)