Document.FormattingShowClear property (Word)

True for Microsoft Word to show clear formatting in the Styles and Formatting task pane. Read/write Boolean.

Syntax

expression. FormattingShowClear

expression A variable that represents a Document object.

Example

This example disables display of the Clear Formatting button in the list of styles.

Sub ShowClearFormatting() 
 With ActiveDocument 
 .FormattingShowClear = False 
 .FormattingShowFilter = wdShowFilterFormattingInUse 
 .FormattingShowFont = True 
 .FormattingShowNumbering = True 
 .FormattingShowParagraph = True 
 End With 
End Sub

See also

Document 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.