SpellingOptions.SuggestMainOnly プロパティ (Excel)

True に設定すると、スペル チェックを使用するときにメイン辞書のみから単語を候補として提示するように Microsoft Excel に指示します。 False は 、スペル チェックを使用しているときに、メイン辞書のみから単語の候補を表示する制限を削除します。 値の取得と設定が可能なブール型 (Boolean) の値です。

構文

SuggestMainOnly

SpellingOptions オブジェクトを表す変数。

この例では、Microsoft Excel はメイン辞書からの単語のみの候補を示すためのスペル チェック オプションをチェックし、状態をユーザーに報告します。

Sub UsingMainDictionary() 
 
 ' Check the setting of suggesting words only from the main dictionary. 
 If Application.SpellingOptions.SuggestMainOnly = True Then 
 MsgBox "Spell checking option suggestions will only come from the main dictionary." 
 Else 
 MsgBox "Spell checking option suggestions are not limited to the main dictionary." 
 End If 
 
End Sub

サポートとフィードバック

Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。