ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Access a worksheet level named range with Refers To like "=5". (https://www.excelbanter.com/excel-programming/361545-access-worksheet-level-named-range-refers-like-%3D5.html)

Jeremy Gollehon[_3_]

Access a worksheet level named range with Refers To like "=5".
 
When a named range has Refers To like "=5" I can't seem to access the value
(or anything about the range for that matter) via code. I assume this is
because it doesn't point to a range and thus isn't part of the range
collection.

Is there a way to get to the value of this named "range" via code?

Thanks,
Jeremy



Bob Umlas, Excel MVP

Access a worksheet level named range with Refers To like "=5".
 
answer = [test]
where test was defined as =5.

"Jeremy Gollehon" wrote:

When a named range has Refers To like "=5" I can't seem to access the value
(or anything about the range for that matter) via code. I assume this is
because it doesn't point to a range and thus isn't part of the range
collection.

Is there a way to get to the value of this named "range" via code?

Thanks,
Jeremy




Jeremy Gollehon[_3_]

Access a worksheet level named range with Refers To like "=5".
 
Perfect. Thanks Bob.

Bob Umlas, Excel MVP wrote:
answer = [test]
where test was defined as =5.

"Jeremy Gollehon" wrote:

When a named range has Refers To like "=5" I can't seem to access
the value (or anything about the range for that matter) via code. I
assume this is because it doesn't point to a range and thus isn't
part of the range collection.

Is there a way to get to the value of this named "range" via code?

Thanks,
Jeremy





All times are GMT +1. The time now is 12:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com