Worksheet.CheckSpelling Method (Object, Object, Object, Object)

 

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 T:Microsoft.Office.Core.MsoLanguageID values used by the P:Microsoft.Office.Core.LanguageSettings.LanguageID(Microsoft.Office.Core.MsoAppLanguageID) property.

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

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

Return to top
Show: