Importing data from another workbook

mickeystanford_alumni

Board Regular
Joined
May 11, 2022
Messages
129
Office Version
  1. 2021
Platform
  1. Windows
  2. MacOS
Hi guys,

I am trying to build a consolidated workbook which extracts data from other workbooks and sheets.

I would like to extract data from a workbook called (ALL_COUNTRIES) and a sheet in that workbook called (US_SALES).
From that sheet I would like to copy column (K:AU) and pastte to my new sheet which will be called (CONSOLIDATED) and paste it into A1.

Then, the US_SALES file has interactive data, so data will be changed weekly in there. I would like to run the code so that data changes into my CONSOLIDATED sheet by just running the code on a daily/weekly basis. I will then create a sheet called CONSOLIDATED_2 which will have formulas linked to the CONSOLIDATED, so running the code shouldn't affect those I guess.

Could you please help me?

Many thanks in advance for your support.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
suggest you have a look of the power query

youtube]6lBqYInBldk, list: PLBtvDJDZlIBphbvzi0P_7hYSbPMx0Smjv
 
Upvote 0
Hi Alan, thank you for your response.
I just find power query to bug/be less efficient than a VBA code which you run it and data then changes much more quickly than with power query. Added to the fact that with the power query, then your data has a table format which I do not want as I want to keep the original format from the original file.
Thank you sir.
 
Upvote 0

Forum statistics

Threads
1,215,453
Messages
6,124,925
Members
449,195
Latest member
Stevenciu

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