Document.DisableFeaturesIntroducedAfter プロパティ (Word)
Microsoft Word の文書のみでの指定されたバージョン以降後に導入されたすべての機能を無効にします。 WdDisableFeaturesIntroducedAfter を読み取り/書き込み。
構文
式。 DisableFeaturesIntroducedAfter
expression 必須です。 Document オブジェクトを表す変数を指定します。
注釈
DisableFeaturesIntroducedAfter プロパティを設定する前に、 DisableFeatures プロパティを True に設定しなければなりません。 それ以外の場合、設定は有効になりませんし、Windows の Word 97/98年のデフォルトの設定のまま。
DisableFeaturesIntroducedAfter プロパティは、プロパティが設定されているドキュメントにのみ影響を与えます。 すべてのドキュメントの機能を無効にするアプリケーションに対するグローバル オプションを設定する場合は、 DisableFeaturesIntroducedAfterByDefault プロパティを使用します。
例
次の使用例は、現在の文書に対してのみ、Word for Windows 95 の Version 7.0 と 7.0a の後に追加されたすべての機能を無効にします。 全文書対象の既定の設定は変更されません。
Sub FeaturesDisable()
With ActiveDocument
'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
関連項目
サポートとフィードバック
Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。