Compatibility Property Example

This example enables the Suppress Space Before after a hard page or column break option on the Compatibility tab in the Options dialog box (Tools menu) for the active document.

ActiveDocument.Compatibility(wdSuppressSpBfAfterPgBrk) = True

This example toggles the Don't add automatic tab stop for hanging indent option on or off.

ActiveDocument.Compatibility(wdNoTabHangIndent) = Not _
    ActiveDocument.Compatibility(wdNoTabHangIndent)