Hi everyone,
I need to create a macro that validates data in a worksheet.
I have created a buton that will be pressed by the user, but the code is where I have problems.
there are numerous checks I need the macro to make - and then highlight cells that have a problem.
The macro will need to look at each row in turn from the row 2 to the end of the data..
an example of a check would be, checking if columns 1, 2, 3, 4 or 5 have a blank value in.
If so then highlight the cells red.
another check is to look at column 2 - if it contains "G13" and column 5 contains "DST01UK" or "INTERUK" then highlight the cell in column 5 orange...
I think if I can work out how to do these two examples I will be able to then do the rest of them
can anyone help me out with this - as I have NO idea how to start.... (or finish!)
thanks in advance,
Matt
Bookmarks