View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] conor.mcmaugh@gmail.com is offline
external usenet poster
 
Posts: 1
Default Opening an add-in hangs when run from scheduled task

I have a vbs file which calls a function from an xla addin to populate
a workbook.

When run normally it works fine.
However when run as a scheduled task (set to run with the same account)
it hangs at the following line:

Set wbMyAddin = appExcel.Workbooks.Open(AddIns("PI-AE").FullName)

Any idea whats causing this?