![]() |
error in XValues
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? |
error in XValues
Try syntax:
........Range("B1:CZ1") "nanz" wrote: 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? |
All times are GMT +1. The time now is 04:03 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com