Work with Excelexcel_chart - diagramms in Excel SetSourceDataRange set current selection in excel table as chart data source Handling: excel_chart(int iChartDescr, "SetSourceDataRange"); Here: iChartDescr - Excel chart descriptor