I want to create a excel 2010 file from C# so what will be the XlFileFormat Enumeration fo开发者_Go百科r it.
http://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel.xlfileformat.aspx
xlOpenXMLWorkbook
for a .xlsx macro free workbook.xlOpenXMLWorkbookMacroEnabled
for a .xlsm macro enabled workbook.
The key piece of knowledge is that the new Office 2007 file formats are called Office Open XML.
精彩评论