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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is possible a dynamic call?

Status
Not open for further replies.

Robertge

Programmer
Jul 4, 2002
18
IT
Hi.

Is possible to use the same code for calling different sub?

I am thinking at something about this:

Tabname(0) = "Command1_click"
Tabname(1) = "Form_unload"
..
..
..
for I = 1 to numel
..
routine_name = Tabname(I)
call routine_name
next

Thank You
 
Hi,
It is possible for you to execute the code for events attached to controls.

Something like Command1_Click
Hope it helps. Let me know what happens.
With regards,
PGK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top