Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you, Chip, this looks very good indeed. Per's similar
approach was also interesting to see. Thanks to you both! dman ---------------------- In , Chip Pearson spake thusly: You might try ' ensure a Range is selected If TypeOf Selection Is Excel.Range Then If Selection.Cells.Count = 1 Then ' one cell selected If Not Application.Intersect(Selection, Range("A1:A10")) Is Nothing Then ' range is within A1:A10 ' do something Else ' not in A1:A10 End If Else ' more than one cell selected End If Else ' selection is not a range (perhaps a Shape or something) End If |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Test to see if selected range is single row? | Excel Programming | |||
Test if CELL is in RANGE | Excel Worksheet Functions | |||
Formula that will test text conditions in a single cell | Excel Worksheet Functions | |||
Range.Find returns cell outside of range when range set to single cell | Excel Programming | |||
easy way to test if a Named Range exists | Excel Programming |