This is the sequesnce of events I am trying to achieve: Scheduled Task- runs at the same time everyday and launches a VBScript VBScript Launches Excel Workbook and runs a Macro. Here is the snippet-
Set xlApp = CreateObject ("Excel.Application")
xlApp.Visible = False
Set xlBook = xlApp.Workbooks.Open (xlFilePath,0,False)
xlApp.Run "Main"
Now the problem is if I run the task manually, It runs fine. When I run the scheduled task when I am not logged on to the server, it does not launch excel. What do I have to change in the code above to launch excel when no user is logged on? I have set Excel Macro security to Low.
Excel 2003 and Windows Server2003 64