M
Maury Markowitz
I have a sort of one-off need to be able to type a formula into a database
field, as a string, and then execute it later. The formula would be something
like "DTE * 1.5 / 10", the first part of the string being an identifier. The
code would look up the number for DTE (it's not a variable) and then run the
formula.
In many languages there is an "EXEC" function for this purpose, but I can't
seem to find anything similar in the VBA docs.
Maury
field, as a string, and then execute it later. The formula would be something
like "DTE * 1.5 / 10", the first part of the string being an identifier. The
code would look up the number for DTE (it's not a variable) and then run the
formula.
In many languages there is an "EXEC" function for this purpose, but I can't
seem to find anything similar in the VBA docs.
Maury