Hi everyone I am struggling here with what should be fairly easy.
I have two lists in two sheets in one excel file. (Sheet 1 and Sheet 2 in Workbook A)
Then I have two other excel files with 1 sheet each in them. Sheet 1 Work Book B. Sheet 1 Work Book C.
So Sheet 1 in Workbook A has a list of values in column A. and I need a vba script that can look through column A and find the matching value in Column A of Sheet 1 workbook B and IF Found then delete the row in Sheet 1 WorkBook B.
(Same thing but for Workbook C.) Then I need it to look Column A in Sheet 2 of work Book A and find the matching value in column A Sheet 1 Work Book C. And if it finds the value then delete the row in Workbook C.
I don't know why but I can't get my code to work. Please help.
I have two lists in two sheets in one excel file. (Sheet 1 and Sheet 2 in Workbook A)
Then I have two other excel files with 1 sheet each in them. Sheet 1 Work Book B. Sheet 1 Work Book C.
So Sheet 1 in Workbook A has a list of values in column A. and I need a vba script that can look through column A and find the matching value in Column A of Sheet 1 workbook B and IF Found then delete the row in Sheet 1 WorkBook B.
(Same thing but for Workbook C.) Then I need it to look Column A in Sheet 2 of work Book A and find the matching value in column A Sheet 1 Work Book C. And if it finds the value then delete the row in Workbook C.
I don't know why but I can't get my code to work. Please help.