Its highly valid.
Your code currently runs through 492 rows, from row 9 to row 500 and everytime it finds a matching entry it copies some data...however it can only hold one set of copied data so we'll say it finds a match at row 50, it copies the range "C50: K50" and then moves to the next row and so on....it then finds another match at row 120 so it copies "C120:K120" data but to do this it loses what it had copied from the earlier row. If they are the only two rows then its holding the data from row 120 in memory.
You then run a backwards loop from 500 to 9 and whenever that criteria is matched you're inserting what you copied however you're
a) not telling it where to paste it so its always going to go into the start of the row, if you want it somewhere specific then you'll need to tell it that. eg
to paste it into column C onwards.
b) though you're always going to paste in the values from the last row that was copied so if you've got 10 matching rows then all of them are going to get the details from the 10th one pasted in.
As John posted the code for, you should do both actions at the same time ie
IF ((x = y) AND (white = black)) THEN
COPY THE DATA
INSERT THE DATA
END IF
You need to post your workbook with a sample sheet showing what is there before and some data showing what you expect.
Bookmarks