Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi there
a way to do it would be to use intersect Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Not Intersect(Target, Range("A1:A10")) Is Nothing Then MsgBox "I am part of your set range" Else MsgBox "Where as i am not" End If End Sub hope it helps S |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change event macro to add cells | Excel Worksheet Functions | |||
Change Event on a Specific Cell | Excel Worksheet Functions | |||
change event on specific cell rather than worksheet | Excel Discussion (Misc queries) | |||
change event for multiple cells | Excel Programming | |||
Change Event and Calculated cells | Excel Programming |