How to: Programmatically Check Spelling in Worksheets
Visual Studio 2012
You can programmatically check the spelling of words in a worksheet. The Spelling dialog box automatically appears if there are any incorrectly spelled words in the worksheet.
Applies to: The information in this topic applies to document-level projects and application-level projects for Excel 2013 and Excel 2010. For more information, see Features Available by Office Application and Project Type.
To check spelling in a worksheet in a document-level customization
-
Call the CheckSpelling method of the worksheet.
To check spelling in a worksheet in an application-level add-in
-
Call the CheckSpelling method of the active worksheet.