Aracılığıyla paylaş


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

Definition

Checks the spelling in a worksheet.

public void CheckSpelling (object CustomDictionary, object IgnoreUppercase, object AlwaysSuggest, object SpellLang);
abstract member CheckSpelling : obj * obj * obj * obj -> unit
Public Sub CheckSpelling (Optional CustomDictionary As Object, Optional IgnoreUppercase As Object, Optional AlwaysSuggest As Object, Optional SpellLang As Object)

Parameters

CustomDictionary
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
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
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
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.

Optional Parameters

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

Applies to