Worksheet.CheckSpelling Method

Checks the spelling in a worksheet.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

void CheckSpelling(
	Object CustomDictionary,
	Object IgnoreUppercase,
	Object AlwaysSuggest,
	Object SpellLang
)

Parameters

CustomDictionary
Type: System.Object
The file name of the custom dictionary to be examined if the word is not found in the main dictionary. If this argument is omitted, the currently specified dictionary is used.
IgnoreUppercase
Type: System.Object
true to have 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
Type: System.Object
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
Type: System.Object
The language of the dictionary being used. Can be one of the MsoLanguageID values used by the LanguageID property.

Use this method to check headers, footers, and objects on a worksheet.

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

Community Additions

ADD
Show: