Collapse the table of content
Expand the table of content
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

SetCompatibilityMode Method (Word)

Sets the compatibility mode for the document.

Version Added: Word 2010

expression .SetCompatibilityMode(Mode)

expression A variable that represents a Document object.




Data Type





Specifies which version of Word to approximate. Use a constant from the WdCompatibilityMode enumeration as an argument for this parameter.

When you open a document in Word 2010 that was created in a previous version of Word, Compatibility Mode is turned on. Compatibility Mode ensures that no new or enhanced features in Word 2010 are available while working with a document, so that people who edit the document using previous versions of Word will have full editing capabilities.

The following code example puts Word 2010 in Word 2003 Compatibility Mode.

ActiveDocument.SetCompatibilityMode (wdWord2003)
© 2016 Microsoft