ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Opening an add-in hangs when run from scheduled task (https://www.excelbanter.com/excel-programming/330089-opening-add-hangs-when-run-scheduled-task.html)

[email protected]

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?



All times are GMT +1. The time now is 03:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com