Application.MeasurementUnit property (Excel)

Specifies the measurement unit used in the application. Read/write XlMeasurementUnits.

Syntax

expression.MeasurementUnit

expression A variable that represents an Application object.

Example

In the following example, the measurement unit for the application is set to inches.

Application.MeasurementUnit = xlInches

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.