Excel) (Application.MeasurementUnit 属性

指定应用程序中使用的度量单位。 读取/写入 XlMeasurementUnits。

语法

表达式。MeasurementUnit

expression:表示 Application 对象的变量。

示例

在以下示例中,应用程序的度量单位设置为英寸。

Application.MeasurementUnit = xlInches

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。