| || |
CallByName usage for shared modules
i wanted to call a function on run time based on the requirement. for each of these functions there are different signagtures. for this i use CallByName. this works fine as long as i call a function with in the script by giving
CallByName Me, methodName, VbMethod
and a function that is present in class module by
CallByName a, methodName, VbMethod
(a an instance of class module).
now i wanted to call a function that is there in shared module. iam unable to create an object of shared module to pass it as object referenct to CallByName.
is there another way to call functions in run time.??