TabStops.ClearAll method (Publisher)
Clears all the custom tab stops from the specified paragraphs.
Syntax
expression.ClearAll
expression A variable that represents a TabStops object.
Remarks
To clear an individual tab stop, use the Clear method of the TabStop object.
The ClearAll method doesn't clear the default tab stops. To manipulate the default tab stops, use the DefaultTabStop property for the document.
Example
This example clears all the custom tab stops in the first shape on the first page of the active publication. This example assumes that the specified shape is a text frame and not another type of shape.
Sub ClearAllTabStops()
ActiveDocument.Pages(1).Shapes(1).TextFrame _
.TextRange.ParagraphFormat.Tabs.ClearAll
End Sub
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.