Columns Object Members

Word Developer Reference

A collection of Column objects that represent the columns in a table.

Methods

  Name Description
Bb257494.methods(en-us,office.12).gif Add Returns a Column object that represents a column added to a table.
Bb257494.methods(en-us,office.12).gif AutoFit Changes the width of a table column to accommodate the width of the text without changing the way text wraps in the cells.
Bb257494.methods(en-us,office.12).gif Delete Deletes the specified columns.
Bb257494.methods(en-us,office.12).gif DistributeWidth Adjusts the width of the specified columns so that they are equal.
Bb257494.methods(en-us,office.12).gif Item Returns an individual Column object in a collection.
Bb257494.methods(en-us,office.12).gif Select Selects the specified table columns.
Bb257494.methods(en-us,office.12).gif SetWidth Sets the width of columns in a table.

Properties

  Name Description
Bb257494.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257494.properties(en-us,office.12).gif Borders Returns a Borders collection that represents all the borders for the specified columns.
Bb257494.properties(en-us,office.12).gif Count Returns a Long that represents the number of columns in the collection. Read-only.
Bb257494.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257494.properties(en-us,office.12).gif First Returns a Column object that represents the first item in the Columns collection.
Bb257494.properties(en-us,office.12).gif Last Returns a Column object that represents the last column in a table.
Bb257494.properties(en-us,office.12).gif NestingLevel Returns the nesting level of the specified columns. Read-only Long.
Bb257494.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Columns object.
Bb257494.properties(en-us,office.12).gif PreferredWidth Returns or sets the preferred width (in points or as a percentage of the window width) for the specified columns. Read/write Single.
Bb257494.properties(en-us,office.12).gif PreferredWidthType Returns or sets the preferred unit of measurement to use for the width of the specified cells, columns, or table. Read/write WdPreferredWidthType.
Bb257494.properties(en-us,office.12).gif Shading Returns a Shading object that refers to the shading formatting for the specified table columns.
Bb257494.properties(en-us,office.12).gif Width Returns or sets the width of the specified columns, in points. Read/write Long.