T
tbone
I'm not very experienced with Excel VBA yet, so I often use the
immediate window to try out various syntax before coding it up.
I found something that works in the immediate window when nothing is
running:
? Range("OnSiteRate").value
does NOT work when the code is run or in the immediate window with the
code paused due to the error. I found a workaround:
? ThisWorkbook.Names("OnSiteRate").RefersToRange
but I'm curious as to why this doesn't work in both circumstances.
Thanks
tbone
immediate window to try out various syntax before coding it up.
I found something that works in the immediate window when nothing is
running:
? Range("OnSiteRate").value
does NOT work when the code is run or in the immediate window with the
code paused due to the error. I found a workaround:
? ThisWorkbook.Names("OnSiteRate").RefersToRange
but I'm curious as to why this doesn't work in both circumstances.
Thanks
tbone