electricpete
Technical User
Let's say I use the Worksheet_Change event which tells my a target cell or range.
I am assuming it will only be a single cell (will check for that).
I want to check whether that target cell lies within a named range (which is not a continguous set).
Is there an easy way to do this?
More generally, is there a way to test whether an object is a member of a collection?
As I type, I just thought of one way. Loop through each cell in the range and see if the address matches. Is there an easier way?
I am assuming it will only be a single cell (will check for that).
I want to check whether that target cell lies within a named range (which is not a continguous set).
Is there an easy way to do this?
More generally, is there a way to test whether an object is a member of a collection?
As I type, I just thought of one way. Loop through each cell in the range and see if the address matches. Is there an easier way?