VBA code to make a master sheet

Bolezy

New Member
Joined
Jul 18, 2013
Messages
1
I'm a relative newbie at vba coding and am finding this problem to be beyond my skill set, so any help would be much appreciated:

I have a hundred or so excel workbooks labelled as a unique identifier with exactly the same columns filled with data, the data is always on the 1st sheet but the number of rows filled does change however (as they were all built from a template but no more than a 100 rows). I am trying to create a master workbook to access the data in each of these files quickly and efficiently. The columns of the data are years and each row has a variable name with some blank rows before the end of the data as it made for easier reading.

What i am essentially hoping to do is to be able to enter the unique identifier into cell B1 or wherever, and a macro to copy and paste the data for the 6 years for each of the variables given in column A. I guess a bit like a lookup function but in the workbook given by the unique identifier.

Many thanks for any help you can offer, i have been working at this for faaaar too long now.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,216,073
Messages
6,128,634
Members
449,460
Latest member
jgharbawi

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