System.Runtime.InteropServices.COMException (0x800401A8)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top