TabStops2.Add method (Office)
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
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.