Macro Help in Copy data to Another Workbook

djmnon

New Member
Joined
Mar 22, 2022
Messages
19
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
  6. 2010
  7. 2007
Platform
  1. Windows
I have a Main file which is xlsm sheet that has 4 tabs Instructions, Project Data, Sheet1 and Sheet2.

I want help in a macro or new Macro where in I want to copy all data in Sheet1( into a separate new workbook ) and save it with a standard naming convention that I have. How do I do that?

Beware that the Sheet1 data currently has say 13000 records in March but the coming months it might change basically the records are dynamic so whenever the Macro runs say in month of April for eg the records might be 14000 for example and so on and so forth for the other months.

Also whenever this new workbook is created I want the Sheet name to always be Sheet1.

I want to repeat the same process for Sheet2 as well but only change is that the name should be Sheet2 in the new workbook. I can try and replicate this if Sheet1 is successful.

Let me know if this can be done.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,224,820
Messages
6,181,155
Members
453,021
Latest member
Justyna P

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