Expand Minimize

Document.EnforceStyle Property (Word)

Published: July 16, 2012

Returns or sets a Boolean that represents whether formatting restrictions are enforced in a protected document.

expression .EnforceStyle

expression An expression that returns a Document object.

The following example turns on formatting restrictions in the active document.

ActiveDocument.EnforceStyle = True

Community Additions

ADD
Show:
© 2014 Microsoft