Share via


Application.MeasurementUnit Property

Excel Developer Reference

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

Version Information
 Version Added:  Excel 2007

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.

Visual Basic for Applications
  Application.MeasurementUnit = xlInches

See Also