I have to call a Sub in "parametric" way, for instance

instead of:
call MySubCompute( par1, par2, par3)

in a way like this:

dim MyString as string
MyString="MySubCompute"
call MyString.......

can you help me?

In vb6 to call a sub procedure no need parenthesis.
simply call it as

Call ProcedureName Param1, Param2, Param3

It can help you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.