Is cell value the name used as Named range name

julhs

Active Member
Joined
Dec 3, 2018
Messages
471
Office Version
  1. 2010
Platform
  1. Windows
This is not about testing for if NamedRange exists, because that will have been established.
But I want to compare a cell value against the "Name" used for the NamedRange
So the existing NamedRange is set to this
Rich (BB code):
Name: Name1
Scope: Workbook
RefersTo: Sheet1!$A$6:$C$30
Cell and value to compare is,
Rich (BB code):
G6
Cell value = Name2
I want a way to test that the value of G6 is infact the "Name:" used for the Named range
Because as it stands at moment a Named range can exist but with the wrong name if value in G6 is changed
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
For future readers the link I gave earlier was not specific enough, I should have quantified it was in post #8

skyybot
Thank you so much for that, you have saved my sanity.
It’s given me exactly what I was after; now just have to figure out the way to utilise it to delete the ones I don’t want.
Probably easier said than done, but going to see if I can figure it.
Many thanks
Julhs
 
Upvote 0
jkpieterse
I've not installed it but have read through the info.
I’m curious about it but not going to investigate it until I have put this (part-time) pain in the proverbial project to bed
Many thanks for you help
julhs
 
Upvote 0

Forum statistics

Threads
1,223,838
Messages
6,174,933
Members
452,593
Latest member
Jason5710

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