VB6 - Run Same Block Of Code Mutliple Times with Different Variable
Posted on 2014-03-27
Good Day Experts!
I have a situation here with a VB6 project that I need some advice on as I am more versed in VB.Net.
Behind the button click on the MainForm a variable is passed to a routine. That variable is set with a hard-coded value since this was in all reality not going to change.
Fast-forward...now it is changing.
I need to run this routine for 5 values now. What is the best way to hold those 5 values and loop through them calling the routine each time?
Thanks for your suggestions,