title: Error running Excel Macro VBScript
body: <p>Running a job from AutoSys and I am getting an error.
  VBS runs an excel macro. 
  VBS code :</p>
  
  <pre><code>Option Explicit
  
  Dim xlApp, xlBook
  Set xlApp = CreateObject("Excel.Application")
  On Error Resume Next
  set xlBook = xlApp.Workbooks.Open("Z:\Confidential Restricted\Weekly_HR_Employees_Macro.xlsm",0, False)
  xlApp.Run "Weekly_HR_Employees_Macro.Weekly_HR_Employees_Macro"
  xlBook.Close True
  xlApp.Quit
  
  set xlBook = Nothing
  Set xlApp = Nothing
  </code></pre>
  
  <p>Error: </p>
  
  <pre><code>Microsoft VBScript runtime error: ActiveX component can't create object: 'Excel.Application'
  </code></pre>