Worksheet.CheckSpelling Method

Checks the spelling in a worksheet.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Sub CheckSpelling ( _
    CustomDictionary As Object, _
    IgnoreUppercase As Object, _
    AlwaysSuggest As Object, _
    SpellLang As Object _
)
void CheckSpelling(
    Object CustomDictionary,
    Object IgnoreUppercase,
    Object AlwaysSuggest,
    Object SpellLang
)

Parameters

  • CustomDictionary
    Type: System.Object

    The file name of the custom dictionary to be examined if the word is not found in the main dictionary. If this argument is omitted, the currently specified dictionary is used.

  • IgnoreUppercase
    Type: System.Object

    true to have Excel ignore words that are all uppercase; false to have Excel check words that are all uppercase. If this argument is omitted, the current setting will be used.

  • AlwaysSuggest
    Type: System.Object

    true to have Excel display a list of suggested alternate spellings when an incorrect spelling is found; false to have Excel wait for you to input the correct spelling. If this argument is omitted, the current setting will be used.

Remarks

Use this method to check headers, footers, and objects on a worksheet.

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

.NET Framework Security

See Also

Reference

Worksheet Interface

Microsoft.Office.Tools.Excel Namespace