cancel
Showing results for 
Search instead for 
Did you mean: 

Open workbook object issue

NarendranathanS
Level 3
Dear all, 

Excel "Open workbook" object fails to work at code stage. 
26977.png

Here is error prompted when the action is executed. 


Can anybody help resolving this issue?

------------------------------
Narendranathan Shanmuganathan
------------------------------
Kr, Naren
7 REPLIES 7

DaveMorris
Level 14
The embedded image for the error isn't loading for me. What does it say?

------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris 3Ci at Southern Company Atlanta, GA

Error message in the embedded image, 

Internal : Could not execute code stage because exception thrown by code stage. Exception has been thrown by the target of an invocation. 

Kr, 
Naren

------------------------------
Narendranathan Shanmuganathan
------------------------------
Kr, Naren

Hi Dave,

Does this message help you identify the cause?

Internal : Could not execute code stage because exception thrown by code stage. Exception has been thrown by the target of an invocation. 

May you require more detail please let me know.

Kr, 
Naren

------------------------------
Kr,
Naren
------------------------------
Kr, Naren

sumire
Level 8
I can show same message in my environment
when I specify word file instead of excel file to open

check your file, really excel file or not

------------------------------
Mitsuko
Asia/Tokyo
------------------------------
------------------------------
Mitsuko
Asia/Tokyo
------------------------------

Hi Mitsuko, 

Certainly the action "Open workbook" tries to open an excel file. Also instance was created before this action and tested successfully by passing the handle value to show action. Same handle value was provided to open workbook action as well. 
26971.png


------------------------------
Kr,
Naren
------------------------------
Kr, Naren

is your xlsx file really excel file, I feel like you should open it
I mean if it is broken, or incorrect extension, etc


------------------------------
Mitsuko
Asia/Tokyo
------------------------------
------------------------------
Mitsuko
Asia/Tokyo
------------------------------

File sample.xlsx opens without a problem in excel application when I opened by double clicking the file. Apparently it's not broken and file extension is not incorrect in the blueprism process. 



------------------------------
Kr,
Naren
------------------------------
Kr, Naren