Table of contents
TOC
Collapse the table of content
Expand the table of content

TextColumn2 Object (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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 Word document.

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

Properties

Name
Application
Creator
Number
Spacing
TextDirection

See also

Other resources

Object Model Reference

© 2017 Microsoft