Using VBA to pull info from various (around 5 Workbooks) into 1 big table using a Prime Ref Code

howaysis

New Member
Joined
Mar 13, 2018
Messages
2
I can use an ADODB.Recordset to bring data from a Named Range from a specific Workbook, however what I would like is the Final Presentation Table to bring the different data (columns) for each Prime Reference Code (so the final table might only have 40 predefined) and it will only pull in that data for each Prime Code.
Does anyone know how I can do this. I know I could bring each total Worksheet in and have a Vlookup in my Final Table but I'd rather handle at a push button to pull the data in without formulas. Appreciate any advice / known code to cover this request.

Thank you.

Howaysis
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
IMHO, the best method currently available from Microsoft is using the Get and Transform/Power Query tools and present using PivotTable (maybe with some better management with PowerPivot.)
Like a macro, you do the hard-work on the front end and then its just data refresh. Using a Target folder to read from would mean adding additional Workbooks to be read from is just a drop into the folder.
If the end use doesn't require view of the Final Table, only load into the Data Model to improve performance.
 
Upvote 0
Thanks for the comment, unfortunately I'm using Excel 2013 and can't use Add-Ins, so I'm limited to using Excel Basis 2013 and whatever I can do with that.
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,190
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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