DisableFeatures Property
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Document.DisableFeatures Property

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



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.

Visual Basic for Applications
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

© 2016 Microsoft