The CMD file get started by Robotask.
Can my script be integrated into the Basic Plugin?
> Internal / External Task Script
With Copy / Paste the code does not work.
Code: Select all
Set xl = CreateObject("Excel.Application")
xl.Visible = False 'set to False for production
xl.Workbooks.Open("C:\blp\API\Office Tools\BloombergUI.xla")
Set wb = xl.Workbooks.Open(WScript.Arguments(0))
wscript.sleep 45000
wb.ActiveSheet.UsedRange.Value = wb.ActiveSheet.UsedRange.Value
wb.Save
wb.Close
xl.Quit