TabStops.ClearAll Method (Word)

Clears all the custom tab stops from the specified paragraphs.

Syntax

expression. ClearAll

expression Required. A variable that represents a 'TabStops' collection.

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 active document.

ActiveDocument.Paragraphs.TabStops.ClearAll

See also

TabStops Collection Object