Document.RemoveLockedStyles Method

Word Developer Reference

Purges a document of locked styles when formatting restrictions have been applied in a document.

Syntax

expression.RemoveLockedStyles

expression   Required. A variable that represents a Document object.

Example

The following example purges the locked styles in the active document.

Visual Basic for Applications
  ActiveDocument.RemoveLockedStyles

See Also