VBA for copying specific cells from many workbooks into one workbook

Fruity27

New Member
Joined
Jul 6, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I’m trying to find a vba code that is dynamic enough to be able to be used as new workbooks are saved that I need data from. For example, I have multiple spreadsheets named workbook1 workbook2. Workbook 3 etc.
I want to use a macro that pulls specific cells from sheet 1 from each of these workbooks into one master file. But I want it to be able to continue to work as I add new workbooks - workbook 4, workbook 5, workbook 6.
Any ideas?
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
I’m trying to find a vba code that is...

Welcome to MrExcel. The desire to have a macro grab some data from some location in some workbook and put it in some other workbook in some other location is a common enough topic here, but you are unlikely to find code that does exactly what you want. The closest you will be able to come is to use the Advanced Search Feature to locate some code that maybe does something similar enough that you can study the VBA code and then modify and customize it to make it work for you.
 
Upvote 0

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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