DefaultTabStop Property

Document.DefaultTabStop Property

Office 2007
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 Office Publisher. Point values are always returned. If values are outside the valid range, an error is returned. Read/write.



expression   A variable that represents a Document object.

Return Value


Use the InchesToPoints method to convert inches to points.


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

Visual Basic for Applications
Sub SetTab()
    Application.ActiveDocument.DefaultTabStop = 72 
End Sub 

© 2015 Microsoft