I named a cell in a worksheet using the Inset->name->define tool. I can always back track to it using the drop-down arrow in the upper left hand of the worksheet and I know the code in VBA to activate that cell as well.
Application.Goto Reference:="namedcell001"
My question is - how do I set a variable = to the value in that named cell without activating that cell?
similar to var1 = Sheets("Model").Range("R12")
it would read something like this:
var1 = namedcell001
but the above (and several variations of it) does not work.
Bookmarks