GermanPostReform Property

Microsoft Excel Visual Basic

GermanPostReform Property

       

True to check the spelling of words using the German post-reform rules. False cancels this feature. Read/write Boolean.

expression.GermanPostReform

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

Example

In this example, Microsoft Excel determines if the checking of spelling for German words is using post-reform rules and enables this feature if it's not enabled, and then notifies the user on the status.

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