View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Dave Dave is offline
external usenet poster
 
Posts: 1,388
Default 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