Document.RemoveLockedStyles method (Word)

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.


See also

Document Object

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.