Share via


TabStops2.Add Method

Office Developer Reference

Adds a new tab stop to the specified TabStops2 object.

Syntax

expression.Add(Type, Position)

expression   An expression that returns a TabStops2 object.

Parameters

Name Required/Optional Data Type Description
Type Required MsoTabStopType The type of tab stop to add.
Position Required Single The horizontal position of the new tab stop relative to the left edge of the text frame. Numeric values are evaluated in points; strings are evaluated in the units specified and can be in any measurement unit supported by the Microsoft Office product.

Return Value
TabStop2

Remarks

Examples of MsoTabStopType types include msoTabStopCenter, msoTabStopLeft, and msoTabStopRight.

See Also