ShowFormat Property Example

This example switches the active window to outline view and shows character formatting.

With ActiveDocument.ActiveWindow.View
    .Type = wdOutlineView
    .ShowFormat = True
End With