Worksheet.CheckSpelling method (Excel)
Checks the spelling of an object.
Syntax
expression.CheckSpelling (CustomDictionary, IgnoreUppercase, AlwaysSuggest, SpellLang)
expression A variable that represents a Worksheet object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
CustomDictionary | Optional | Variant | A string that indicates the file name of the custom dictionary to be examined if the word isn't found in the main dictionary. If this argument is omitted, the currently specified dictionary is used. |
IgnoreUppercase | Optional | Variant | True to have Microsoft Excel ignore words that are all uppercase. False to have Excel check words that are all uppercase. If this argument is omitted, the current setting will be used. |
AlwaysSuggest | Optional | Variant | True to have Excel display a list of suggested alternate spellings when an incorrect spelling is found. False to have Excel wait for you to input the correct spelling. If this argument is omitted, the current setting will be used. |
SpellLang | Optional | Variant | The language of the dictionary being used. Can be one of the MsoLanguageID values. |
Remarks
This method has no return value; Excel displays the Spelling dialog box.
To check headers, footers, and objects on a worksheet, use this method on a Worksheet object.
To check only cells and notes, use this method with the object returned by the Cells property.
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 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기