System.Runtime.InteropServices.COMException (0x800401A8)

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

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
 
Back
Top