This topic has not yet been rated - Rate this topic

TextFrame.ColumnSpacing Property (Publisher)

Returns or sets a Variant that represents the amount of space between text columns. Read/write.

expression .ColumnSpacing

expression A variable that represents a TextFrame object.

Return Value

Variant

Spacing measures from the end of the text to the end of the column and again from the beginning of the column to the beginning of the text. Thus, if you enter a ColumnSpacing amount of 0.5 inch, the total spacing between columns is one inch: 0.5 inch measuring from the end of the text to the end of the column in one column, plus 0.5 inch measuring from the beginning of the column to the beginning of the text in a neighboring column.

This example formats the first text box in the active publication with three columns and a total of 0.5 inch spacing between columns.

Sub SetColumnsAndSpacing() 
 With ActiveDocument.Pages(1).Shapes(1).TextFrame 
 .Columns = 3 
 .ColumnSpacing = InchesToPoints(0.25) 
 End With 
End Sub
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.