Düzenle

Aracılığıyla paylaş


Columns.Item method (Outlook)

Obtains a Column object specified by Index.

Syntax

expression.Item (Index)

expression A variable that represents a 'Columns' object.

Parameters

Name Required/Optional Data type Description
Index Required Variant A 1-based index value that can be either a Long representing the column index for the Columns collection or a String representing the Name of the Column.

Return value

A Column object that represents the column matching the Index in the Table. Returns the error, "Array index out of bounds" if Index is an invalid Long integer. Returns Null (Nothing in Visual Basic) if Index is a String representing a column name that cannot be found in the Table.

See also

Columns 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.