cancel
Showing results for 
Search instead for 
Did you mean: 

Internal : Could not execute code stage because exception thrown by code stage: Method's type signature is not Interop compatible.

BhavanaPaul1
Level 2
Anyone come across below issue while using MsExcel VBO-Write Collection
Internal : Could not execute code stage because exception thrown by code stage: Method's type signature is not Interop compatible.

------------------------------
Bhavana Paul
RPA Developer
IBM
Asia/Kolkata
------------------------------
3 REPLIES 3

Hi Bhavana,

The problem I faced with the Error: "Method's type signature is not Interop compatible", was that I was trying to write a TimeSpan data item into the Excel file. Didn't work so changed the TimeSpan data item to a Text data item.

I suggest checking your data type.
 


 


------------------------------
Hossein Azimi
Customer Support Engineer, APAC
Blue Prism
Sydney NSW
------------------------------

Hi Hossein Azimi,
Would you be able to share how did you convert the timespan to text format.

Regards
Divas


------------------------------
divas gupta
------------------------------

Hi Divas,

Thank you for contacting customer support.

You can change the data type from timespan to text format from inside the data item properties.

18862.png

------------------------------
Hossein Azimi
Customer Support Engineer, APAC
Blue Prism
Sydney NSW
------------------------------