- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Everybody,
I have the following problem concerning interoperability with Excel.
I was used to use an old version of Excel (2007) until recently.
Concerning the command below :
Microsoft.Office.Interop.Excel.Shape shape=sheet.Shapes.AddPicture(filepath,
Microsoft.Office.Core.MsoTriState.msoFalse,
Microsoft.Office.Core.MsoTriState.msoCTrue,ImageLeft,ImageTop,ImageWidth,Imageheight);
It worked very well with this version of Excel (2007)
But I decided to update Excel to 2019 recently, and the command doesn't work any more.
It compiles the program, but when I launch it, I get the error COMException(0x800A03EC)
I verfied that the file's path is correct, and it worked with the previsous version of excel.
Could someone help me?
Best regards
Civil Engineer
Solved! Go to Solution.