Редагувати

Поділитися через


SpellingOptions.GermanPostReform property (Excel)

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

Syntax

expression.GermanPostReform

expression A variable that represents a SpellingOptions object.

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.