Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel - Testing if a cell is in a Named range

Status
Not open for further replies.

BENC

Programmer
Jun 23, 2001
2
GB
I need to do some validations on a spreadsheet, and am using different named ranges for the data input areas.
My problem is when a user enters data, how do i identify which named range the cell is in without trawling through all the range names and comparing the addresses with the current cell? I've looked everywhere but can't find any way to do this. I'm using a Worksheet_Change event procedure, ideally I'd like to use a Name_Change event, but there doesn't seem to be any such thing.
Any advice gratefully received.

Ben
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top