Collapse the table of content
Expand the table of content
Expand Minimize

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

True disables all features introduced after the version specified in the DisableFeaturesIntroducedAfter property. The default value is False. Read/write Boolean.

expression .DisableFeatures

expression A variable that represents a Document object.

The DisableFeatures property only affects the document for which you set the property. Use this property if you plan on sharing a document between users with earlier versions of Microsoft Word so that you don't end up introducing into a document features that are not available in their versions.

This example disables all features added after Word for Windows 95, versions 7.0 and 7.0a, for the current document. The global default setting remains unchanged.

Sub FeaturesDisable() 
 With ActiveDocument 
 'Checks whether features are disabled 
 If .DisableFeatures = True Then 
 'If they are, disables all features after Word for Windows 95 
 .DisableFeaturesIntroducedAfter = wd70 
 'If not, turns on the disable features option and disables 
 'all features introduced after Word for Windows 95 
 .DisableFeatures = True 
 .DisableFeaturesIntroducedAfter = wd70 
 End If 
 End With 
End Sub
© 2015 Microsoft