TabStops Property

Applies To

Ruler object.

Description

Returns a TabStops collection that represents the tab stops for the specified text. Read-only.

Example

This example adds a slide with two text columns to the active presentation, sets a left-aligned tab stop for the title on the new slide, and assigns text that includes a tab character to the title.

With Application.ActivePresentation.Slides _
    .Add(2, ppLayoutTwoColumnText).Shapes
    With .Title.TextFrame
        With .Ruler
            .Levels(1).FirstMargin = 0
            .TabStops.Add ppTabStopLeft, 50
        End With
        .TextRange = "first col" + Chr(9) + "second col"
    End With
End With