This question already has an answer here:
I have an excel .xls
file that contains 10 sheets. I want to split all of those sheets as separate .xls
files. Does excel have any option to export a sheet into a separate .xls
file?
This question already has an answer here:
I have an excel .xls
file that contains 10 sheets. I want to split all of those sheets as separate .xls
files. Does excel have any option to export a sheet into a separate .xls
file?
Try this code
These are the main file formats in Excel 2007-2013, Note: In Excel for the Mac the values are +1
All file formats codes here