Application.GetSpellingSuggestions method (Word)
Returns a SpellingSuggestions collection that represents the words suggested as spelling replacements for a given word.
Syntax
expression. GetSpellingSuggestions
( _Word_
, _CustomDictionary_
, _IgnoreUppercase_
, _MainDictionary_
, _SuggestionMode_
, _CustomDictionary2_
, _CustomDictionary3_
, _CustomDictionary4_
, _CustomDictionary5_
, _CustomDictionary6_
, _CustomDictionary7_
, _CustomDictionary8_
, _CustomDictionary9_
, _CustomDictionary10_
)
expression Required. A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Word | Required | String | The word whose spelling is to be checked. |
IgnoreUppercase | Optional | Variant | True to ignore words in all uppercase letters. If this argument is omitted, the current value of the IgnoreUppercase property is used. |
SuggestionMode | Optional | Variant | Specifies the way Word makes spelling suggestions. Can be one of the following WdSpellingWordType constants: wdAnagram, wdSpellword, or wdWildcard. The default value is WdSpellword. |
Remarks
If the word is spelled correctly, the Count property of the SpellingSuggestions object returns 0 (zero).
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기