Print an excel file from command line or "cron" type command ???
This if from the VBA Help file using the OnTime method:
Application.OnTime TimeValue("17:00:00"), "my_Procedure"
It starts the macro at 5 P.M. Maybe you could use this.
"Chris Salcedo" wrote:
I need to print an excel file at 3:15 every day. I would like to be
able to "schedule" it like in a cron job...(windows of course...) I
cant find any way to directly print from a comman line like "excel.exe
"c:\myfile.xls" /p
Any Ideas ????
|