Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tim Tim is offline
external usenet poster
 
Posts: 8
Default Named Range Refers To

I am pretty sure this is a simple question that I am far to simple to
be able to find the answer to, but does anybody know how to return the
cells that a named range refers to?

by this I mean the formula that you see when you go to the insert
name define menu including any offset formula used in defining the
range.

I want to do this using vba but so far have only been able to return
what the range refers to with the path and filename attached, if it is
possible to return it without these so I dont have to cut bits out of
the string then I would be much abliged if someone could tell me how
or point me in the right direction.

Cheers,

Tim

  #2   Report Post  
Posted to microsoft.public.excel.programming
Tim Tim is offline
external usenet poster
 
Posts: 8
Default Named Range Refers To

I have managed to solve the problem myself, I had mistakenly moved a
sheet into the workbook and the named ranges associated with it were
all referenced to the originl workbook.

Sorry for taking up anybodies time.

Tim

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Named Range Refers To

I assume you are referring to

Range("Name").RefersTo


Possibly you can use

Range("Name").ReferstoRange.Address(0,0)



--
Regards,
Tom Ogilvy


"Tim" wrote in message
oups.com...
I am pretty sure this is a simple question that I am far to simple to
be able to find the answer to, but does anybody know how to return the
cells that a named range refers to?

by this I mean the formula that you see when you go to the insert
name define menu including any offset formula used in defining the
range.

I want to do this using vba but so far have only been able to return
what the range refers to with the path and filename attached, if it is
possible to return it without these so I dont have to cut bits out of
the string then I would be much abliged if someone could tell me how
or point me in the right direction.

Cheers,

Tim



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
Range Name Limitations - Max Refers To Length? Barb Reinhardt Excel Discussion (Misc queries) 5 May 19th 23 11:42 AM
Recalc of SUM() that refers to a cell across a range of worksheets Bill Schickling New Users to Excel 4 December 16th 08 09:05 PM
countif argument for 3 occurences of which 1 refers to a range Andy Excel Discussion (Misc queries) 2 September 7th 05 03:19 PM
toggling which worksheet a named range refers to Loftus Excel Discussion (Misc queries) 0 March 30th 05 12:05 AM
named range refers to: in a chart Spencer Hutton Excel Discussion (Misc queries) 1 December 14th 04 10:15 PM


All times are GMT +1. The time now is 06:48 AM.

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

About Us

"It's about Microsoft Excel"