Document.LockTheme Property (Word)

Office 2013 and later

Contribute to this content

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

Returns or sets a Boolean that represents whether a user can change a document theme. Read/write.

expression .LockTheme

expression An expression that returns a Document object.

Use the ApplyDocumentTheme method to apply a Microsoft Office theme. Use the DocumentTheme property to return the Office theme that is applied to a document.