VBA to auto save file to a shared location, while leaving the current file open and ready?

Jimmy110

Board Regular
Joined
Feb 28, 2022
Messages
63
Office Version
  1. 365
Platform
  1. Windows
I'm wondering if this can be done?

I have an excel file that people input data into. At the end of that data collection period, id like to be able to click a macro and it save the file somewhere, but also leave the current sheet open so it can be used by people to input the next round of data.

Can this be done?

Cheers
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
What exactly do you mean by "leave it open". Do you want the data already collected to be cleared or remain in the"open" sheet? Sample worksheet would also be useful.
 
Upvote 0
Just using the SaveCopyAs method …​
 
Upvote 0
What exactly do you mean by "leave it open". Do you want the data already collected to be cleared or remain in the"open" sheet? Sample worksheet would also be useful.
Sorry, I mean I want the sheet to remain open for the next user to input data. So the previous chunk of inputted data gets saved somewhere and the sheet is still there for the next person
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,606
Members
449,089
Latest member
Motoracer88

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