Edit

Share via


_Worksheet.CheckSpelling(Object, Object, Object, Object) Method

Definition

Checks the spelling of an object. This form has no return value; Microsoft Excel displays the Spelling dialog box.

public void CheckSpelling (object CustomDictionary, object IgnoreUppercase, object AlwaysSuggest, object SpellLang);
Public Sub CheckSpelling (Optional CustomDictionary As Object, Optional IgnoreUppercase As Object, Optional AlwaysSuggest As Object, Optional SpellLang As Object)

Parameters

CustomDictionary
Object

Optional Object. 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
Object

Optional Object. True to have Microsoft Excel ignore words that are all uppercase. False to have Microsoft Excel check words that are all uppercase. If this argument is omitted, the current setting will be used.

AlwaysSuggest
Object

Optional Object. True to have Microsoft Excel display a list of suggested alternate spellings when an incorrect spelling is found. False to have Microsoft Excel wait for you to input the correct spelling. If this argument is omitted, the current setting will be used.

SpellLang
Object

Optional Object. The language of the dictionary being used. Can be one of the MsoLanguageID values used by the LanguageID[MsoAppLanguageID] property.

Remarks

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

Applies to