cannot tell if this would exaclty run as i dont have access to QTP right now.
You can use index property
i = 0
On Error Goto X 'where you want to exit
i= i+ 1
what I intend to do here is try to select using index and increase the number if it is selected , if it throws an error (because the index number has increased number of options in dropdown) use the number .
i cant think of any other way [img]/images/graemlins/smile.gif[/img]
so if some has a better idea please do update us