Script to open file (1 Viewer)

zezo2021

Member
Local time
Today, 14:57
Joined
Mar 25, 2021
Messages
381
Hello
I don't understand in script
but
is there a script o
1- pen excel file every 12 hours
2-run macro
3- then close the file
script run from windows without interaction from the user
Thank you
 

theDBguy

I’m here to help
Staff member
Local time
Today, 05:57
Joined
Oct 29, 2018
Messages
21,473
Sounds like this would involve using the Task Scheduler.
 

Isaac

Lifelong Learner
Local time
Today, 05:57
Joined
Mar 14, 2017
Messages
8,777
As dbguy said, use task scheduler.

Either
1) put the code in the excel workbook's Open event (and include a line to save and close the workbook and quit excel at the end)
or
2) use the task scheduler to open a vbscript which automates excel.
 

Users who are viewing this thread

Top Bottom