Column Members (Word)

Represents a single table column. The Column object is a member of the Columns collection. The Columns collection includes all the columns in a table, selection, or range.

Methods

Name

Description

AutoFit

Changes the width of a table column to accommodate the width of the text without changing the way text wraps in the cells.

Delete

Deletes the specified column.

Select

Selects the specified table column.

SetWidth

Sets the width of a column in a table.

Sort

Sorts the specified table column.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Borders

Returns a Borders collection that represents all the borders for the specified object.

Cells

Returns a Cells collection that represents the table cells in a table column. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

Index

Returns a Long that represents the position of an item in a collection. Read-only.

IsFirst

True if the specified column or row is the first one in the table. Read-only Boolean.

IsLast

True if the specified column or row is the last one in the table. Read-only Boolean.

NestingLevel

Returns the nesting level of the specified column. Read-only Long.

Next

Returns the next column in a collection of table columns. Read-only.

Parent

Returns an Object that represents the parent object of the specified Column object.

PreferredWidth

Returns or sets the preferred width (in points or as a percentage of the window width) for the specified column. Read/write Single.

PreferredWidthType

Returns or sets the preferred unit of measurement to use for the width of the specified table column. Read/write WdPreferredWidthType.

Previous

Returns the previous column in a collection of table columns. Read-only.

Shading

Returns a Shading object that refers to the shading formatting for the specified column.

Width

Returns or sets the width of the specified column, in points. Read/write Long.