Share via


IgnoreCaps Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

False instructs Microsoft Excel to check for uppercase words, True instructs Excel to ignore words in uppercase when using the spelling checker. Read/write Boolean.

expression.IgnoreCaps

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

In this example, Microsoft Excel determines what the setting is for checking the spelling of uppercase words and notifies the user.

  Sub SpellingOptionsCheck()

    If Application.SpellingOptions.IgnoreCaps = True Then
        MsgBox "Spelling options for checking uppercase words is disabled."
    Else
        MsgBox "Spelling options for checking uppercase words is enabled."
    End If

End Sub