Table of contents
Collapse the table of content
Expand the table of content

TabStops.ClearAll Method (Publisher)

office 365 dev account|Last Updated: 8/24/2017
3 Contributors

Clears all the custom tab stops from the specified paragraphs.


expression. ClearAll

_expression_A variable that represents a TabStops object.


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.


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 _ 
End Sub
© 2018 Microsoft