ShowFormat Property

Microsoft Word Visual Basic

expression.ShowFormat

expression    Required. An expression that returns a View object.

Remarks

This property generates an error if the view isn't outline or master document view.

Example

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

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