Match two excel sheet

luis.carrion

Board Regular
Joined
Mar 26, 2010
Messages
246
I have two excel sheet one named "Total List on 1149" and the other one named "PROSPERITY FEPP". I need a macro that will open excel workbook named "PROSPERITY FEPP" and if the name in column B from the sheet named "Total List on 1149" matches column G from the esxcel named "PROSPERITY FEPP" highlight row in yellow and if one of the name in excel workbook named "Total List on 1149" is not found hightlight in red but in this name only.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
I have two excel WORKBOOKS one named "Total List on 1149" and the other one named "PROSPERITY FEPP". I need a macro that will open excel workbook named "PROSPERITY FEPP" and if the name in column B from the sheet named "Total List on 1149" matches ANY CELL IN column G IN WORKBOOK "PROSPERITY FEPP" highlight row in yellow (IN TOTAL LIST ON 1149) and if one of the name in excel workbook named "Total List on 1149" is not found hightlight in red but in this name(THIS CELL) only.

IS THIS WHAT YOU WANT?
 
Upvote 0
You don't need to open the second workbook as the first workbook can search for values in the second workbook - assuming you don't need the co;ours in the second workbook.
 
Upvote 0
I have done it in a spreadsheet PM your Email and I will send it to you in the morning (UK)
 
Upvote 0

Forum statistics

Threads
1,213,563
Messages
6,114,329
Members
448,564
Latest member
ED38

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top