I am trying to schedule a vbscript to print a gantt chart in Excel every week, and I can't seem to get it to run. I can run the script by itself, but when I schedule, it runs and does nothing.
My script is:
Set XLApp = CreateObject("Excel.Application")
xlapp.DisplayAlerts = False
xlapp.visible = true
xlapp.DisplayAlerts = True
As I said, if I run this manually outside of task Scheduler it runs fine.
Here are task details:
Running using my account (admin) with highest priviliges.
Any ideas why this wouldn't work?