I use this code to create excel worksheet:
Excel.Application excelApp = new Excel.Application();
Excel.Workbook excelWorkBook = excelApp.Workbooks.Add();
Excel.Worksheet excelWorkSheet = excelWorkBook.Sheets.Add();
excelWorkSheet.Name = fileName;
... fill worksheet
Is there a way to open this worksheet (show it on screen) without saving it?
当然,只要显示您的Excel实例:
excelApp.Visible = true;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.