How to call a function (with parameters) which is in function library, taking the function name from a variable?
问题 I'm trying to use getref to call a function from the function library associated with the test. My code - In action1 str = "sample" msg = "hi" x = GetRef("Function_"&str)(msg) msgbox x In the function Library, Function Function_sample(strMsg) Function_sample = strMsg End Function I'm getting the error - "Invalid procedure call or argument." But it works fine if the function is placed in the same action. How to call a function (with parameters) which is in function library, taking the function