Microsoft.Office.Interop.Excel.Application App = new Application(); Microsoft.Office.Interop.Excel.Workbook wb=null; Microsoft.Office.Interop.Excel.Worksheet Wsheet = null; App.Visible = true; Wsheet = (Microsoft.Office.Interop.Excel.Worksheet)wb.Worksheets.Add(Type.Missing, Type.Missing, 10, Type.Missing);
wb.Name = "some name";
"Property or indexer 'Microsoft.Office.Interop.Excel._Workbook.Name' cannot be assigned to -- it is read only"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)