Application.CheckSpelling (Word)

Checks a string for spelling errors. Returns a Boolean to indicate whether the string contains spelling errors. True if the string has no spelling errors.

CheckSpelling (Word, CustomDictionary, IgnoreUppercase, MainDictionary, CustomDictionary2, CustomDictionary3, CustomDictionary4, CustomDictionary5, CustomDictionary6, CustomDictionary7, CustomDictionary8, CustomDictionary9, CustomDictionary10)


Dim strWord As String: strWord =  
Dim booCheckSpelling As Boolean
booCheckSpelling = CheckSpelling(Word:=strWord)

Arguments

The following argument is required

Word (String) - The text whose spelling is to be checked.

Optional arguments

The following arguments are optional

CustomDictionary (String) - Either an expression that returns a Dictionary object or the file name of the custom dictionary.

IgnoreUppercase (Boolean) - True if capitalization is ignored. If this argument is omitted, the current value of the IgnoreUppercase property is used.

MainDictionary (Dictionary) - Either an expression that returns a Dictionary object or the file name of the main dictionary.

CustomDictionary2 (Dictionary) - Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary3 (Dictionary) - Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary4 (Dictionary) - Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary5 (Dictionary) - Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary6 (Dictionary) - Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary7 (Dictionary) - Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary8 (Dictionary) - Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary9 (Dictionary) - Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.

CustomDictionary10 (Dictionary) - Either an expression that returns a Dictionary object or the file name of an additional custom dictionary.