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.DisableFeaturesIntroducedAfter
expression Required. An expression that returns one of the objects in the Applies To list.
Remarks
The DisableFeatures property must be set to True prior to setting the DisableFeaturesIntroducedAfter property. Otherwise, the setting will not take effect and will remain at its default setting of Word 97 for Windows.
The DisableFeaturesIntroducedAfter property only affects the document for which the property is set. If you want to set a global option for the application to disable features for all documents, use the DisableFeaturesIntroducedAfterByDefault property.
Example
This example disables all features added after Word for Windows 95, versions 7.0 and 7.0a, for the current document only. The global default setting remains unchanged.
Sub FeaturesDisable()
With ThisDocument
'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