GermanPostReform Property

Microsoft Excel Visual Basic

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 of 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