FancyPrairie
Programmer
I call a function (element_myfunction) via Eval. I want the function to return a value. How do I do it? This is what my code looks like.
Code:
Dim myReturnValue
Dim strElementID
strElementID = "Element1"
myReturnValue = Eval(strElementID & "_myFunction")
if (myReturnValue = "abc") then ...
Function Element1_myFunction()
Element1_myFunction = "abc"
End Function