摘要:
问题描述:Office 打印时,引用了Microsoft.Office.Interop.Excel Excel.Application xlsApp = new Excel.Application(); xlsApp.Visible = true; Excel.Workbooks xlsWbs = xlsApp.Workbooks; Excel.Workbook xlsWb = xlsWbs.Open();//省略参数 Excel.Worksheet xlsWs = (Excel.Worksheet)xlsWb.Worksheets[1];执行到Excel.Worksheet xlsWs = 阅读全文