Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50301

VBA - Evaluate Conditions as String

$
0
0
I have come across a very strange scenario. In a function I will receive a string of condition to be evaluated.

E.g.

Code:

(a>b and (b=2 or c!=3))
Where a,b and c are my variable names.

I tried and searched a lot but didn't get anything meaningful.

So my question is: Is it possible to evaluate a string like this? If yes, please provide me some hint on this.

Viewing all articles
Browse latest Browse all 50301

Latest Images

Trending Articles



Latest Images