View.ShowFormat property (Word)

True if character formatting is visible in outline view. Read/write Boolean.

Syntax

expression. ShowFormat

expression 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

See also

View Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.