ODSOColumns.Item method (Office)

Specifies an ODSOColumn object in the ODSOColumns collection.

Syntax

expression.Item(varIndex)

expression A variable that represents an ODSOColumns object.

Parameters

Name Required/Optional Data type Description
varIndex Required Variant The index number of the item.

Return value

Object

Example

The following example retrieves an ODSOColumn object from the ODSOColumns collection.

oOdsoColumn = oOdsoColumns.Item(2)

See also

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.