TextColumn2 Object

Office Developer Reference

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-widecolumn to the active Microsoft Office Word document.

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

See Also