Expand Minimize

Document.ApplyDocumentTheme Method

Applies a document theme to a document.

Version Added: Word 2007

expression .ApplyDocumentTheme(FileName)

expression An expression that returns a Document object.

Parameters

Name

Required/Optional

Data Type

Description

FileName

Required

String

The path and file name of the theme to apply.

The following example applies the Verve document theme to the active document.

ActiveDocument.ApplyDocumentTheme _ 
 "C:\Program Files\Microsoft Office\" & _ 
 "Document Themes 12\Verve.thmx"
Show:
© 2014 Microsoft