c# - How To Determine Which Version of Excel last saved a Workbook -
this question has answer here:
i have excel files (.xls) being automatically generated system, , distributing these files users , edit fields in , send me. need know each file sent me version of excel using (is office 2003, 2007, 2010, 2013...?) because want know lowest versions need keed support for.
is there way take these files , excel version saved each 1 of them ?
i tried solution programmatically finding excel file's excel version didn't it...
i believe looking for, @ least worked fine application.
var excelwb = new oledocumentpropertiesclass(); excelwb.open(filepath, false, dsofileopenoptions.dsooptiondefault); string fileusedversion = excelwb.summaryproperties.version.tostring();
greetings
Comments
Post a Comment