OlkComboBox.GetItem method (Outlook)
Obtains a String that represents an item at the specified location in the list of the combo box control.
Syntax
expression. GetItem
(Index)
expression A variable that represents an OlkComboBox object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Index | Required | Long | A zero-based value that specifies the location of an item in the list. |
Return value
A String value that represents the item at the specified location in the list.
Remarks
If Index is outside the range of the allowed values (between zero and ListCount -1), then an out-of-bounds error will be returned.
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.