FormattingShowClear Property

Microsoft Word Visual Basic

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