ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   System.Runtime.InteropServices.COMException (0x800401A8) (https://www.excelbanter.com/excel-programming/418834-system-runtime-interopservices-comexception-0x800401a8.html)

Dave

System.Runtime.InteropServices.COMException (0x800401A8)
 
Hi,

I am trying to format a chart object in a C# console app and when I go to
access the chart object, I am getting this error:

System.Runtime.InteropServices.COMException (0x800401A8): Exception from
HRESULT: 0x800401A8.
at Excel._Chart.get_ChartTitle()
at DeliveryMechanism.DeliveryMechanism.Main(String[] args) in
c:\documents and settings\sean.nolan\my documents\visual studio
projects\crrs\deliverymechanism\deliverymechanism. cs:line 631

My program does other formatting in excel before it gets to this Chart
object however when it hits the chart object it throws this exception.

Any help on this exception would be very useful.

Thanks

Dave


All times are GMT +1. The time now is 03:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com