Hello guys I have got following code,
the code check column A and B in sheet1 then match them with sheet2 A and B,
Sheet1
3o7XAu5.png
Sheet2
338pTom.png
if column A and B sheet1 match column a and B in sheet2,
take the matching cell in this result,
sheet 1 same row column J the value * the value in column G same row sheet2,
but if there are cells in sheet1 and column A and B that not exists in Sheet2,
I get this error
Runtime error 13 : incompatible types
Compare_cells.xlsm
See attached file.
Could someone help me ?
Thank you in advance
Bookmarks