I want to create a excel 2010 file from C# so what will be the XlFileFormat Enumeration for 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With