Home |
Search |
Today's Posts |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think you would need to modify your code to this to protect against D1
being a blank cell... Range("D1").End(xlDown).Offset(1+2*(Range("D1")="" )).Interior.ColorIndex=3 -- Rick (MVP - Excel) "Jacob Skaria" wrote in message ... You can avoid looping if D13 is a blank cell (no formula within). Range("D1").End(xlDown).Offset(1).Interior.ColorIn dex = 3 -- Jacob "gotroots" wrote: What code do I need to allow the first blank cell found in a range to be highlighted. Example D1:D12 contains a value D13 is the first blank cell in "D" C5 is hightlighted when code is run D13 is highlighted Thank you if you can help with this. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Highlight Lowest value ignoring 0 or blank cell | Excel Discussion (Misc queries) | |||
Highlight cells where the last charcter in the cell is a blank | Excel Worksheet Functions | |||
formula in excel that will highlight a cell that is left blank? | Excel Worksheet Functions | |||
Conditional Format to highlight blank cell | Excel Worksheet Functions | |||
highlight non blank cells in column | Excel Programming |