Can you retrieve the name of a named range?

reneuend

Board Regular
Joined
May 20, 2009
Messages
155
I would like to be able to retrieve the name of a named range using the range that it defines. Is this possible?

In other words, if I know the range, but not the defined name for it, can I retrieve the name?


Thx,
~reneuend
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
not as simple as selecting the range and noting the name that appears in the name box at top left of your worksheet?

or you can use VBA, either for the selection or the name determination
 
Upvote 0
Thanks for the replies. Sorry for the confusion. Yes, I'm using VBA. I'll try out your solution VOG. I do have a back up plan if this doesn't work, but it's not as clean.

Much appreciated!
 
Upvote 0
"m not sure why you're trying to do this?
In excel 2007, we can simply click on Formula tab > click on "Use in formula" > paste names to get all the names defined.
Code:
[/FONT]
[FONT=Courier New]Option Explicit
Sub try()
    Selection.ListNames
End Sub

Just adding to the thought.
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,248
Members
452,900
Latest member
LisaGo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top