_Application.CheckSpelling method

Checks the spelling of a single word. Returns True if the word is found in one of the dictionaries; returns False if the word isn't found.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

bool CheckSpelling(
	string Word,
	Object CustomDictionary,
	Object IgnoreUppercase


Type: System.String

Required String. The word you want to check.

Type: System.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.

Type: System.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.

Return value

Type: System.Boolean