Options.DisableFeaturesbyDefault Property

Word Developer Reference

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.

Syntax

expression.DisableFeaturesbyDefault

expression   A variable that represents a Options object.

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.

Visual Basic for Applications
  Sub FeaturesDisableByDefault()
    With Application.Options
    'Checks whether features are disabled
    If .<strong class="bterm">DisableFeaturesbyDefault</strong> = 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
        .<strong class="bterm">DisableFeaturesbyDefault</strong> = True
        .DisableFeaturesIntroducedAfterbyDefault = wd70
    End If
End With

End Sub

See Also