We're working with an Excel workbook that is giving us problems.
Our code (minimally, as we can't get past the open), is as follows:
Code: Select all
let>ws-name-file=C:\Users\Administrator\Desktop\sandy.xlsx
XLOpen>ws-name-file,1,ws-work-handle
Wait>1
MessageModal>opened file
XLGetCell>ws-work-handle,MIDLAND,1,1,ws-result
messagemodal>result=%ws-result%
XLQuit>ws-work-handle
In the attached image, you can see that Excel has launched in the task manager. In fact, if we manually open the spreadsheet before aborting the macro, we get the notification that the spreadsheet is locked for editing, so I know it's being opened, but we can't see it. When we click 'OK' on the rejection error, that error window closes, but MS hangs on the XLOPEN command and does nothing further.
So: The pc we are running on is a Windows 7 Professional, with Office 2016 installed.
There are no other processes accessing the file (or Excel, for that matter)
The version of Office 2016 is licensed appropriately.
We can open other spreadsheets with this small script, with no problem. That, to me, points to the workbook itself. But I have no clue as to how to debug this.
Anyone have any ideas on what we might be running into? The spreadsheet itself has no macros or programming behind it as far as I can see. There are embedded links to GoogleDrive, but I can't imagine that would be an issue.
Thanks in advance,
Sandy