在c#中的工作簿中创建工作表数组

时间:2017-02-08 06:50:39

标签: c#

static Excel.Application xlApp = new Excel.Application();
static object misValue = System.Reflection.Missing.Value;
static Excel.Workbook xlWorkBook = xlApp.Workbooks.Add(misValue);
Excel.Worksheet xlWorkSheet = xlWorkBook.ActiveSheet as Excel.Worksheet;

我需要创建xlwooksheet作为数组

0 个答案:

没有答案