Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim rng as range, cell as Range
For each cell in Range("A1:A10") if cell.Interior.ColorIndex < xlNone then if rng is nothing then set rng = Cell else set rng = union(rng,cell) end if end if Next if not rng is nothing then rng.select End if Might be what you want. -- Regards, Tom Ogilvy "Buddy" wrote in message ... I have a requirement to detect only cells that have been shaded. Is there a funtion to accomplish this? Thank You |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Detect Cell Colour | Charts and Charting in Excel | |||
VB ; How do I detect a Comment in a cell | Excel Discussion (Misc queries) | |||
How to detect characters in cell? | Excel Discussion (Misc queries) | |||
How to detect characters with a cell? | Excel Discussion (Misc queries) | |||
Conditional Cell Shading (based on the shading of other cells) | Excel Worksheet Functions |