小
小蔡一碟
Unregistered / Unconfirmed
GUEST, unregistred user!
ExcelWorkSheet1.ConnectTo(ExcelWorkBook1.Sheets[1] as _WorkSheet);
ExcelWorkSheet1.ConnectTo(ExcelWorkBook1.Sheets[2] as _WorkSheet);
ExcelWorkSheet1.ConnectTo(ExcelWorkBook1.Sheets[3] as _WorkSheet);
ExcelWorkSheet1.ConnectTo(ExcelWorkBook1.Sheets[4] as _WorkSheet);
当用sheets[4]时出错,因为sheet缺省只有三个。我如何新建一个呢?
急,请哪位朋友告诉我?
excelworkbook1.sheets.add()?里面的参数怎么个写法?
ExcelWorkSheet1.ConnectTo(ExcelWorkBook1.Sheets[2] as _WorkSheet);
ExcelWorkSheet1.ConnectTo(ExcelWorkBook1.Sheets[3] as _WorkSheet);
ExcelWorkSheet1.ConnectTo(ExcelWorkBook1.Sheets[4] as _WorkSheet);
当用sheets[4]时出错,因为sheet缺省只有三个。我如何新建一个呢?
急,请哪位朋友告诉我?
excelworkbook1.sheets.add()?里面的参数怎么个写法?