Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have code that will hi-light a cell if it is empty based on input in the
first cell: For Each cll In Range("A:A") If cll.Value = "A" Or cll.Value = "a" Then If IsEmpty(cll.Offset(0, 1)) Then cll.Offset(0, 1).Interior.ColorIndex = 6 _ Else: cll.Offset(0, 1).Interior.ColorIndex = xlNone End If Now I still need to do: For Each cll In Range("A:A") If cll.Value = "A" Or cll.Value = "a" Then but now I need to check to see if a range of cells are all null (at least one of them must NOT be null) For example - if R:V and X are empty, then I want to hi-light R:V and X to show that at least one of them must have data. Any help is MUCH appreciated. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Checking a range with IF | Excel Discussion (Misc queries) | |||
Checking range of cells for entry then checking for total | Excel Programming | |||
Checking ALL values in a range | Excel Discussion (Misc queries) | |||
checking if a range has a name. | Excel Programming | |||
Checking range names | Excel Programming |