08-10-2012, 12:32 PM
There should be some exit criteria/No. of times when you want to stop repeating. Please post the exit condition.
I am posting a sample code...
You can use any loop to achieve your objective. Do let me know if you need more help.
Regards,
Ankesh
I am posting a sample code...
Code:
Do
'Search variable x
if x.Exist then
'Set the value for x
Else
'x not found
End IF
While <Your exit condition>
Regards,
Ankesh