Collapse the table of content
Expand the table of content
Expand Minimize

Document.RemoveLockedStyles Method (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .RemoveLockedStyles

expression Required. A variable that represents a Document object.

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

© 2016 Microsoft