DisableFeaturesIntroducedAfterbyDefault Property

Microsoft Word Visual Basic

Show All

DisableFeaturesIntroducedAfterbyDefault Property

       

Disables all features introduced after a the specified version for all documents. Read/write WdDisableFeaturesIntroducedAfter.

WdDisableFeaturesIntroducedAfter can be one of these WdDisableFeaturesIntroducedAfter constants.
wd70 Specifies Word for Windows 95, versions 7.0 and 7.0a.
wd70FE Specifies Word for Windows 95, versions 7.0 and 7.0a, Asian edition.
wd80  Specifies Word 97 for Windows. Default.

expression.DisableFeaturesIntroducedAfterbyDefault

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

Remarks

The DisableFeaturesByDefault property must be set to True prior to setting the DisableFeaturesIntroducedAfterByDefault property. Otherwise, the setting will not take effect and will remain at its default setting of Word 97 for Windows.

The DisableFeaturesIntroducedAfterByDefault property sets a global option for the application and affects all documents. If you want to disable features introduced after a specified version for a document only, use the DisableFeaturesIntroducedAfter 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