Class TabStop (PowerPoint VBA)

The class TabStop represents a single tab stop. The TabStop object is a member of the TabStops collection. The TabStops collection represents all the tab stops on one ruler. To use a TabStop class variable it first needs to be instantiated, for example


Dim tsp as TabStop
Set tsp = ActiveWindow.RangeFromPoint.TextFrame.Ruler.TabStops(Index:=1)

Clear

Clears the specified tab stop from the ruler and deletes it from the TabStops collection.


ActivePresentation.Slides(1).Shapes(1).TextFrame.Ruler.TabStops(1).Clear

Position

Returns or sets the position of the specified tab stop, in points.


ActivePresentation.Slides(1).Shapes(1).TextFrame.Ruler.TabStops(1).Position = 4

Type

Represents the formatting of a tab stop. Possible return values are ppTabStopCenter - Center tab stop, ppTabStopDecimal - Decimal tab stop, ppTabStopLeft - Left tab stop, ppTabStopMixed - Mixed, ppTabStopRight - Right tab stop.

The value of the Type property can be one of these PpTabStopType constants.


ActiveWindow.RangeFromPoint.TextFrame.Ruler.TabStops(1).Type = ppTabStopCenter