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
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.