error in XValues

  • Thread starter Thread starter nanz
  • Start date Start date
N

nanz

Hello,

I'm trying to create an Excel chart ...

When I write the following code:

GRAPH.Chart.SeriesCollection(1).XValues = XLAPP.Worksheets("Raw Chart
Data").Range("b1", "cz1")

I get this error:

An unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred in
microsoft.visualbasic.dll

Additional information: Type mismatch.

Please, can anybody help me?
 
Back
Top