Share via


Document.FormattingShowClear Property

Word Developer Reference

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.

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

See Also