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 のサポートおよびフィードバックを参照してください。