08-06-22 06:19 AM
Could not execute code stage because exception is thrown by code stage: Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
Answered! Go to Answer.
10-06-22 09:55 AM
10-06-22 02:56 PM
14-06-22 02:11 AM
14-06-22 08:35 AM
25-06-22 12:51 PM
27-06-22 12:07 PM
03-07-22 10:14 AM
20-06-23 04:35 PM
Hi Michael,
Thanks for your tips regarding this issue. We also get the .mht file but are unable to convert it to an .xslx. We extensively tried the manual approach you suggested, but it does not work yet. Would you mind giving more insight into the exact details of the standard Excel object actions?
Thanks a lot! Best regards,
Ellen
20-06-23 07:21 PM
I've never been able to replicate the issue that others have had with this object without giving incorrect parameters and that doesnt effectively replicate the issue so I couldnt identify the cause. I think this is being caused due to notifications from excel, if you can could you make a change in one of the code stages in your version of this object?
Open the object and select the tab Convert pdf to excel, on this page open the code stage called "open file in excel" change the code to match the following
21-06-23 10:22 AM
Hi Michael,
We tried the workaround by saving the file as an .xls instead of .xlsx in the regular MS Excel VBO (as mentioned above in this thread), and from there it worked perfectly again!
The display alerts settings were already turned off in the object we used (excel.DisplayAlerts = False), so that we did not need to change.
Thanks a lot!
Best regards, Ellen
------------------------------
Ellen Peereboom
Lead RPA Developer
------------------------------