I have a worksheet event where a userform is triggered whenever a drop down list is selected. The drop down list is in sheet1 while the references is using a named range in sheet2. Now I need that worksheet event to only trigger my userform for drop down lists that are referenced to a specific named range. I plan to use...
If Not Intersect(Target, Range("NAMED_RANGE_1")) Is Nothing Then
//do not show userform, be happy!
else
//show userform, you are awesome!
But I can't get the referenced named range of the drop down list selected. Can anyone instruct me how to get the named range of the selected drop down list?
Thanks!
NAMED_RANGE_1
is in the same worksheet asTarget
. Otherwise they cannot intersect. – Pᴇʜ