I have a macro that runs daily. The above statement has been fine for a long time (year or more). Now it gives an error. (Error 2042). I am wondering if it is the result of a recent Office update.
The error is not coming from "Selection.Value" as that cell does not contain an error, it contains a valid value. In the immediate window:
?Selection.Value
works just fine to give the correct value
In the immediate window the following gives Error 2042:
?Evaluate("na()")
But, as i say, this statement has been working for a long time in that macro.
Any thoughts on whether "Evaluate("na()")" should work, or if there has been a recent change in behavior?
Thank you.
The error is not coming from "Selection.Value" as that cell does not contain an error, it contains a valid value. In the immediate window:
?Selection.Value
works just fine to give the correct value
In the immediate window the following gives Error 2042:
?Evaluate("na()")
But, as i say, this statement has been working for a long time in that macro.
Any thoughts on whether "Evaluate("na()")" should work, or if there has been a recent change in behavior?
Thank you.