Share via


DefaultTabStop Property [Publisher 2003 VBA Language Reference]

Returns or sets a Variant corresponding to the default tab stop for all text in the active publication. Valid range is 1 to 1584 points (0.014" to 22"). Once set, numeric values are considered to be in points. String values may be in any unit supported by Microsoft Publisher. Point values are always returned. If values are outside the valid range, an error is returned. Read/write.

expression.DefaultTabStop

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

Use the InchesToPoints method to convert inches to points.

Example

This example sets the DefaultTabStop property to 72 points for all text in the active publication.

Sub SetTab()

    Application.ActiveDocument.DefaultTabStop = 72
    
End Sub 

Applies to | Document Object