dicktomatoes
Programmer
Greetings
I have a VBA module which has a number of procedures. I would like to create a function that would dynamically choose the procedure to run. I am querying the database and returning a result. That result is corresponds with the name of the procedure I want to run.
For instance, if the result of the query is "12345", I would want to Call procedure "12345". Next time if the reults are "54321" and I would want to call that procedure.
Any thoughts?
TIA!
I have a VBA module which has a number of procedures. I would like to create a function that would dynamically choose the procedure to run. I am querying the database and returning a result. That result is corresponds with the name of the procedure I want to run.
For instance, if the result of the query is "12345", I would want to Call procedure "12345". Next time if the reults are "54321" and I would want to call that procedure.
Any thoughts?
TIA!