如果该值为 True,则使用德语后期修订规则检查单词的拼写。如果该值为 False,则取消该功能。Boolean 类型,可读写。
expression.GermanPostReform
expression 必需。该表达式返回“应用于”列表中的对象之一。
在本示例中,Microsoft Excel 判断是否使用德语后期修订规则检查德语单词的拼写,如果该功能尚未启用,则启用该功能,然后在该状态下通知用户。
Sub SpellingCheck()
' Determine if spelling check for German words is using post-reform rules.
If Application.SpellingOptions.GermanPostReform = False Then
Application.SpellingOptions.GermanPostReform = True
MsgBox "German words will now use post-reform rules."
Else
MsgBox "German words using post-reform rules has already been set."
End If
End Sub