Multiple WB with Multiple Sheets - Need VBA help with matching numeric value in Master and then Copying and Pasting cell contents

steelervince

Board Regular
Joined
May 29, 2007
Messages
83
Good Morning All!

I have a good one that I am attempting to figure and then solve using VBA in Excel 2010.

11 WB's - 1 Master and 10 others which need to be updated. Master WB has 1 Sheet. Each of the other WB's contains multiple sheets. Each sheet in the WB's is laid out the same way, column names are the same and data is the same format in all sheets, all WB's. Each sheet tab in all of the WB's have unique names.

In the Master WB I have a numeric "key" value field which contains 6 digit numbers. Matching numbers appear in only 1 of the other 10 WB's (Column Name is the same in each spreadsheet, i.e. Customer #) however,

This is what I need to have happen:
1. Have VBA look at the values in the Master WB's "key" field and Find a corresponding value in one of the other WB's (I am assuming that this can be done 1 WB at a time and 1 Sheet at a time?)
2. Once the value is found, Copy data from column 4 (it will always be the date from column 4 which is to be copied) in the Master WB and then Paste that data into Column 4 of the correspnding WB and Sheet.
3. If a numeric match is not found then Color that value in the Master WB Red.

I hope that someone out there is able to assist rather quickly as I have a deadline to meet. In my past roles I have done extensive programming using VBA but I have been away from it for about 5 years now. I know that it will come back quickly so any guidance that you are able to offer would help me out greatly!

Thanks in advance and make it a great day!

Vince
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,223,721
Messages
6,174,096
Members
452,542
Latest member
Bricklin

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