Options.DisableFeaturesIntroducedAfterbyDefault 属性 (Word)

禁用后引入的所有功能的所有文档的指定的版本。 读/写 WdDisableFeaturesIntroducedAfter

语法

expression. DisableFeaturesIntroducedAfterbyDefault

表达式是必需的。 一个代表 Options 对象的变量。

备注

在之前设置 DisableFeaturesByDefault 属性必须设置为 True 。 否则为设置才会生效,并且将保持 Word 97 的用于 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.

示例

本示例对所有文档禁用 Word for Windows 95 的 7.0 和 7.0a 版之后引入的所有功能。

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

另请参阅

选项对象

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。