FormattingShowClear Property

Microsoft Word Visual Basic

FormattingShowClear Property

       

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

expression.FormattingShowClear

expression   Required. An expression that returns one of the objects in the Applies To list.

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