Document.FormattingShowClear property (Word)

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


expression. FormattingShowClear

expression A variable that represents a 'Document' object.


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