如果该值为 False,则命令 Microsoft Excel 检查混合数字。如果该值为 True,则命令 Excel 在检查拼写时忽略混合数字。Boolean 类型,可读写。
expression.IgnoreMixedDigits
expression 必需。该表达式返回“应用于”列表中的对象之一。
本示例中,Microsoft Excel 决定在检查混合数字的拼写时使用何种设置,并通知给用户。
Sub SpellingOptionsCheck()
If Application.SpellingOptions.IgnoreMixedDigits = True Then
MsgBox "Spelling options for checking mixed digits is disabled."
Else
MsgBox "Spelling options for checking mixed digits is enabled."
End If
End Sub