Hello,
I keep getting this windows script host error.
Script: C\top 5 macro.vbs
Line: 5
Char: 1
Error: Unknown runtime error
Code: 800A9C68
Source: Microsoft VBScript runtime error
Any help or insight you guys can provide is greatly appreciated!
Thanks,
Shekk
I keep getting this windows script host error.
Script: C\top 5 macro.vbs
Line: 5
Char: 1
Error: Unknown runtime error
Code: 800A9C68
Source: Microsoft VBScript runtime error
Code:
Dim xlApp
Dim xlBook
Set xlApp = CreateObject("Excel.Application")
Set xlBook = xlApp.Workbooks.Open("S:\Operations\Daily Reports\Top 5\top five macro.xlsm", 0, True)
xlApp.Run "WeeklyReports"
xlBook.Close
xlApp.Quit
Set xlBook = Nothing
Set xlApp = Nothing
Any help or insight you guys can provide is greatly appreciated!
Thanks,
Shekk