I can get it working when assigning a default value to Variable1 within the variables panel. But when attempting to do the same via an Excel cell, it returns the code as a string, rather than executing the code?
I was also interested in this. I know Eval(“string”) or Evaluate(“string”) is what you need but it’s not available in UiPath in that way.
I guess you could just execute your code from within UiPath or within Excel via formulas/vba to return the result to pass it to or from Excel. Unless there’s a really good reason to be passing the code around as a string.