I have a spreadsheet that has range of cells that contain two types of data. The cell will have the word "OnTime" or it will contain a number, or it will be blank.
Starting at the first cell in the range, moving left to right, I want to do the following:
Examine the cell
If the cell is blank, move to the next cell in the range
If the cell contains "OnTime", blank out the cell, make a border around it and shade it green
If the cell contains a number, leave the number, make a border around it and shade it red
Do this for every cell in the range.
I know some macro code from recording then going back and tweaking it, but I don't know how to iterate through a range of cells, examine each, then do the above steps.
Can anyone point me in the right direction?
Thanks!!!