Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sub Routine arrays

Status
Not open for further replies.

AdamWhitehouse

Programmer
Aug 7, 2000
34
GB
palnd (Visitor)

Sorry about the syntax of my coding, what I am trying to achieve is to be able to call upto 70 procedures from one or two lines of code, the procedures are labelled as:
step1()
step2()
I
I
step70()

I am trying to call these from a single line of code such as

do
call step & i
doevents
loop

where I can increment the variable I to the required step level, this obviously doesn't work because VB will not let me call a variable or have a procedure with a variable name.

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top