DisableFeaturesbyDefault Property

Microsoft Word Visual Basic

DisableFeaturesbyDefault Property

       

True for Microsoft Word to disable in all documents all features introduced after the version of Word specified in the DisableFeaturesIntroducedAfterByDefault. The default value is False. Read/write Boolean.

expression.DisableFeaturesbyDefault

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

The DisableFeaturesByDefault property sets a global option for the application. If you want to disable features introduced after Word 97 for Windows for the document only, use the DisableFeatures property.

Example

This example disables all features introduced after Word for Windows 95, versions 7.0 and 7.0a, for all documents.

Sub FeaturesDisableByDefault()
    With Application.Options

        'Checks whether features are disabled
        If .DisableFeaturesbyDefault = True Then

            'If they are, disables all features after Word for Windows 95
            .DisableFeaturesIntroducedAfterbyDefault = wd70
        Else

            'If not, turns on the disable features option and disables
            'all features introduced after Word for Windows 95
            .DisableFeaturesbyDefault = True
            .DisableFeaturesIntroducedAfterbyDefault = wd70
        End If
    End With
End Sub