Table.Columns property (Outlook)

Returns a Columns collection object that contains the columns defined for the Table. Read-only.

Syntax

expression.Columns

expression A variable that represents a Table object.

Remarks

The Columns collection object is the default member of the Table object.

While rows in a Table correspond to items in the parent Folder or Search object of the Table, Columns in a Table correspond to the properties of these items. Default columns are defined for all folders depending on the parent folder of the Table object. For example, the default properties for the Inbox are: EntryID, Subject, CreationTime, LastModificationTime, and MessageClass. For more information on default properties for a Table, see Default Properties Displayed in a Table Object.

To add Column objects to the Columns collection of a Table, use Columns.Add. To remove the default column set, use Columns.RemoveAll. For more information on adjusting columns of a Table, see Adding Columns to a Table Object.

See also

Table Object

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.