TextColumn2 object (Office)

Represents a single text column. The TextColumn2 object is a member of the TextColumns2 collection.

Remarks

Use TextColumns2(index), where index is the index number, to return a single TextColumn2 object. The index number represents the position of the column in the TextColumns2 collection (counting from left to right).

Example

Use the Add method to add a column to the collection of columns. By default, there's one text column in the TextColumns2 collection. The following example adds a 2.5-inch-wide column to the active Microsoft Word document.

ActiveDocument.PageSetup.TextColumns2.Add _ 
 Width:=InchesToPoints(2.5), _ 
 Spacing:=InchesToPoints(0.5), EvenlySpaced:=False 

See also

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.