日期:2014-05-20  浏览次数:20722 次

关于OWC11输出excel问题。
OWC11,可以输出后缀名为xlsx的excel文件吗?

      
      myexcel.Export(@"d:\test1.xlsx", OWC.SheetExportActionEnum.ssExportActionOpenInExcel, OWC.SheetExportFormat.ssExportXMLSpreadsheet);

我在输出的时候 报文件格式或者扩展名不对 这是为什么?

------解决方案--------------------
引用:
OWC11,可以输出后缀名为xlsx的excel文件吗?

      
      myexcel.Export(@"d:\test1.xlsx", OWC.SheetExportActionEnum.ssExportActionOpenInExcel, OWC.SheetExportFormat.ssExportXMLSpreadsheet);

我在输出的时候 报文件格式或者扩展名不对 这是为什么?


OWC11好像只能支持xls格式的,你用xls格式试一下