Options.AllowPixelUnits property (Word)

True if Microsoft Word uses pixels as the default unit of measurement for HTML features that support measurements. Read/write Boolean.

Syntax

expression. AllowPixelUnits

expression A variable that represents a 'Options' object.

Example

This example sets Word to allow pixels as the default unit of measurement for HTML features.

Options.AllowPixelUnits = True

See also

Options Object

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.