Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

_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
)

Parameters

Word
Type: System.String

Required String. The word you want to check.

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

IgnoreUppercase
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
Show:
© 2015 Microsoft