Script to open file

zezo2021

Member
Local time
Today, 10:46
Joined
Mar 25, 2021
Messages
412
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
 
Sounds like this would involve using the Task Scheduler.
 
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

Back
Top Bottom