diff --git a/Ribbon/DataWriter.cs b/Ribbon/DataWriter.cs index 249a713..8f54669 100644 --- a/Ribbon/DataWriter.cs +++ b/Ribbon/DataWriter.cs @@ -39,7 +39,6 @@ public static void WriteData() Range dataRange= ws.Range["A1:B101"]; dataRange.Select(); ws.Shapes.AddChart(XlChartType.xlLineMarkers).Select(); - xlApp.ActiveChart.SetSourceData(Source: dataRange); } } }