First of all, interesting question!
Woking code:
Debug.Print Evaluate("rowOffset")(1)
or
Debug.Print Join(Evaluate("rowOffset"))
or
Debug.Print Evaluate("INDEX(rowOffset,1)")
or
Debug.Print [INDEX(rowOffset,1)]
Why Debug.Print Evaluate("rowOffset")
is not working?
The reason is because ROW()
actually returns array with one element rather than single value,
i.e. {1}
, and all you need is to take it's first element or concatenate array using Join
.