AllowCompoundNounProcessing Property Example

This example asks the user whether Microsoft Word should ignore compound nouns when checking spelling in a Korean language document.

If Options.AllowCompoundNounProcessing = False Then
    x = MsgBox("Do you want to ignore compound " _
        & "nouns when checking spelling?", _
        vbYesNo)
    If x = vbYes Then
        Options.AllowCompoundNounProcessing = True
        MsgBox "Compound nouns will be ignored!"
    End If
End If