Range.CheckSpelling (Word)

Begins a spelling check for the specified document or range.

If the document or range contains errors, this method displays the Spelling and Grammar dialog box, with the Check grammar check box cleared.

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


Set range2 = Documents("MyDocument.doc").Sections(2).Range 
range2.CheckSpelling IgnoreUpperCase:=False, _ 
 CustomDictionary:="MyWork.Dic", _ 
 CustomDictionary2:="MyTechnical.Dic"

Arguments

Optional arguments

The following arguments are optional

CustomDictionary (Dictionary) - 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.

AlwaysSuggest (Boolean) - True for Microsoft Word to always suggest alternative spellings. If this argument is omitted, the current value of the SuggestSpellingCorrections property is used.

CustomDictionary2 (Dictionary) - Either an expression that returns a Dictionary object or the file name of the custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary3 (Dictionary) - Either an expression that returns a Dictionary object or the file name of the custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary4 (Dictionary) - Either an expression that returns a Dictionary object or the file name of the custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary5 (Dictionary) - Either an expression that returns a Dictionary object or the file name of the custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary6 (Dictionary) - Either an expression that returns a Dictionary object or the file name of the custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary7 (Dictionary) - Either an expression that returns a Dictionary object or the file name of the custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary8 (Dictionary) - Either an expression that returns a Dictionary object or the file name of the custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary9 (Dictionary) - Either an expression that returns a Dictionary object or the file name of the custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary10 (Dictionary) - Either an expression that returns a Dictionary object or the file name of the custom dictionary. You can specify as many as nine additional dictionaries.