OptimizeForWord97 Property Example

This example checks the current document to see if it's optimized for Word 97; if it isn't, the example asks the user whether it should be.

If ActiveDocument.OptimizeForWord97 = False Then
    x = MsgBox("Is this document targeted at " _
        & "Word 97 users?", vbYesNo)
    If x = vbYes Then _
        ActiveDocument.OptimizeForWord97 = True
End If