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

TabStops Object (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

A collection of all the TabStop objects on one ruler.


Use the TabStopsproperty to return the TabStops collection. The following example clears all the tab stops for the text in shape two on slide one in the active presentation.

With ActivePresentation.Slides(1).Shapes(2) _
    For t = .Count To 1 Step -1
End With

Use the Addmethod to create a tab stop and add it to the TabStops collection. The following example adds a tab stop to the body-text style on the slide master for the active presentation. The new tab stop will be positioned 2 inches (144 points) from the left edge of the ruler and will be left aligned.

ActivePresentation.SlideMaster _
    .TextStyles(ppBodyStyle).Ruler.TabStops.Add ppTabStopLeft, 144

See also


PowerPoint Object Model Reference

© 2018 Microsoft