Columns.Item Method (Outlook)
Obtains a Column object specified by Index.
Version Information
Version Added: Outlook 2007
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.