Document.DefaultTabStop property (Publisher)

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.

Syntax

expression.DefaultTabStop

expression A variable that represents a Document object.

Return value

Variant

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 

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.