Macro to Pull data from multiple spreadsheets into a master template.

jroper12

New Member
Joined
Sep 1, 2014
Messages
1
Hi,

I'm relatively new to writing VB and I wanted to know how I could pull data from multiple spreadsheets into a 'master' spreadsheet.

Basically what I have is 5 spreadsheets that are identical. Identical as in have the same column names etc, not the same data in them!

The Master is also an identical format to the other spreadsheets, but what I'd like to do is have a button called 'update' for example and would pull all of that information into the master.

Finally I would like to add a condition in to the information that the master spreadsheet would pull. In the last column it is an outcome field, if that that outcome is blank I don't want the master to pull it. Only when the field is populated.

If someone could help me with the syntax and how to reference the workbooks correctly that would be great.

Thanks,
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,216,095
Messages
6,128,800
Members
449,468
Latest member
AGreen17

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