主题
NumberFormatLocal (属性)
以采用用户语言字符串的形式返回或设置一个 Any 值,它代表对象的格式代码。
说明
Format 函数使用的格式代码字符串与 NumberFormat 和 NumberFormatLocal 属性使用的格式代码字符串不同。
示例
python
#此示例设置查找条件的格式代码
def test():
Application.FindFormat.NumberFormatLocal = "0.00%"
python
#此示例显示替换条件的格式代码
def test():
print(Application.ReplaceFormat.NumberFormatLocal)