Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, I have the function below, which is a loop and then performs and if
function, however I need another if statement inside the if statement below that will only do the rcellDt.Offset(0, 5) if it is empty otherwise it should change the color to red. For Each rcellIm In rngIm.Cells For Each rcellDt In rngDt.Cells If InStr(1, rcellDt.Value, rcellIm, vbTextCompare) Then rcellDt.Offset(0, 5) = rcellIm.Offset(0, 3) End If End If Next rcellDt Next rcellIm Hope someone can help. Thanks, HFazal |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional Formating with Icon set - How to change the color | Excel Discussion (Misc queries) | |||
Color Conditional Formating | Excel Discussion (Misc queries) | |||
Change color without conditional formating | Excel Discussion (Misc queries) | |||
Applying conditional formating to make cells change color | Excel Discussion (Misc queries) | |||
Conditional formating-change color of cells over than one with for | Excel Discussion (Misc queries) |