Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default 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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 320
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
combining values and text to make a reference for "named range" devo.uk Excel Worksheet Functions 4 June 10th 08 10:31 AM
Array as a "named range" - formula ok in cells, but error as "named range" tskogstrom Excel Discussion (Misc queries) 11 December 28th 06 04:44 PM
macro to remove a named range always called "database" & if possib Todd F.[_2_] Excel Programming 9 July 25th 05 06:25 PM
toggling which worksheet a named range refers to Loftus Excel Discussion (Misc queries) 0 March 30th 05 12:05 AM
Adding named range gives error "method range of object _Global failed " Gunnar Johansson Excel Programming 3 August 10th 04 01:54 PM


All times are GMT +1. The time now is 04:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"