Open A Workbook Each Day

rockyw

Well-known Member
Joined
Dec 26, 2010
Messages
1,196
Office Version
  1. 2010
Platform
  1. Windows
Is there a way to have an Excel 2010 workbook to open and save and close each day by its self? Thanks
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
You could use task scheduler (PC or server) to open it at a set time - then have the spreadsheet auto-run with a close at the end.
 
Upvote 0
For what purpose?
What is it supposed to do?

Conceivably, you could add Workbook_Open VBA code that automatically runs when a workbook opens. You could put the save/close code in there (along with anything else that you might want to happen).
Then, you could use a Scheduler to open the file every day. So then it would open, do its stuff, and save/close.
You just need to make sure that the Scheduled job is on a computer that is on every day when it is supposed to run.
 
Upvote 0
There is data that updates when the workbook opens. A code runs and makes changes but if it does not open everyday some data is lost.
 
Upvote 0
OK. The methods proposed should do what you want.
 
Upvote 0

Forum statistics

Threads
1,223,901
Messages
6,175,277
Members
452,629
Latest member
SahilPolekar

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