TextColumns Collection Object
Word Developer Reference |
A collection of TextColumn objects that represent all the columns of text in a document or a section of a document.
Remarks
Use the TextColumns property to return the TextColumns collection. The following example formats the columns in the first section in the active document to be evenly spaced, with a line between the columns.
Visual Basic for Applications |
---|
|
Use the Add method to add a column to the collection of columns. By default, there is one text column in the TextColumns collection. The following example adds a 2.5-inch-wide column to the active document.
Visual Basic for Applications |
---|
|
Use the SetCount method to arrange text into columns. The following example arranges the text in the active document into three columns.
Visual Basic for Applications |
---|
|
See Also