How to run a function from a variable
Thanks Daniel, it works like a charm.
I missed that command, I looked everywhere but did not think of the
application.
Thx again
"Daniel.C" wrote:
Hi,
Try :
strSomeFunction = "ExportRecords"
Application.Run strSomeFunction
Regards.
Daniel
Hello everyone, I have been trying to dynamically run a function that is
stored in a variable (this comes from an Access table). To make to story
short:
strSomeFunction = "ExportRecords"
then I would like to call it:
Run strSomeFunction
There is no EVAL() function - I am not referring to the EVALUATE Excel
function.
Any ideas?
|