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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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