Export (0) Print
Expand All
Expand Minimize

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.

Syntax

expression.DisableFeatures

expression   A variable that represents a Document object.

Remarks

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.

Example

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
        Else

            '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



Community Additions

ADD
Show:
© 2014 Microsoft