Finds an item, looking for Caption in ColIndex colum. The searching starts at StartIndex item.
Type | Description | |||
Value as Variant | A Variant expression that indicates the caption that is searched for. | |||
ColIndex as Variant | A string expression that indicates the column's caption, or a long expression that indicates the column's index. | |||
StartIndex as Variant | A long value that indicates the index of item from where the searching starts. | |||
HITEM | A long expression that indicates the item's handle that matches the criteria. |
Use the FindItem to search for an item. Finds a control's item that matches CellValue( Item, ColIndex ) = Caption. The StartIndex parameter indicates the index from where the searching starts. If it is missing, the searching starts from the item with the 0 index. The searching is case sensitive only if the ASCIIUpper property is empty. Use the AutoSearch property to enable incremental search feature within the column.