yes i have installed Ms Excel.
i am doing this in windows application using c# language.i am creating student mark list.so if i cal any function it will show that marklist in excel sheet and have to disply chart for that.
1)In line No 18. workBook = excel.Workbooks.Add;
Error:43 Cannot convert method group 'Add' to non-delegate type Microsoft.Office.Interop.Excel.Workbook'. Did you intend to invoke the method?
2)In Line no 42. range = sheet.Range(sheet.Cells[1, 1], sheet.Cells[count, data.Columns.Count]);
Error 44:Property, indexer, or event 'Range' is not supported by the language; try directly calling accessor method
3)workBook.SaveAs(saveAs)
Error 45:No overload for method 'SaveAs' takes '1' arguments
4)workBook.Close()
Error 46:No overload for method 'Close' takes '0' arguments