What excel format i have file in? -



What excel format i have file in? -

i got excel file .xls format, excel 2007 can open it, throws message file in format extension , if im sure want open it.

i opened file in notepad , these first lines

<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/tr/rec-html40"> <meta name="progid" content="excel.sheet" /> <meta name="generator" content="microsoft excel 9" /> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>

i tried save file formats .xml, .ods , on, cant find real format/extension name. dont know ? seems compatible excel.

ok found format, .xlhtml

and c# code told me

microsoft.office.interop.excel.application excelapp = new microsoft.office.interop.excel.application(); excelapp.visible = false; microsoft.office.interop.excel.workbook eworkbook = excelapp.workbooks.open(xlsfilepath, type.missing, type.missing, type.missing, type.missing, type.missing, type.missing, type.missing, type.missing, type.missing, type.missing, type.missing, type.missing, type.missing, type.missing); console.writeline(eworkbook.fileformat.tostring()); console.readline();

excel

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -