Partager via


Document.RemoveLockedStyles Method (Word)

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.

ActiveDocument.RemoveLockedStyles

See Also

Concepts

Document Object

Document Object Members