MeasurementUnit Property

Microsoft Word Visual Basic

WdMeasurementUnits can be one of these WdMeasurementUnits constants.
wdCentimeters
wdInches
wdMillimeters
wdPicas
wdPoints

expression.MeasurementUnit

expression    Required. An expression that returns an Options object.

Example

This example sets the standard measurement unit for Word to points.

Options.MeasurementUnit = wdPoints
		

This example returns the current measurement unit selected on the General tab in the Options dialog box (Tools menu).

CurrUnit = Options.MeasurementUnit