Yes it is possible.
However, keep in mind that you may not have some features / formatting due to limitations of this format.
You can save an Excel document with multiple spreadsheets as HTML, and then convert it to find out which part you need to change (this is easy to do).
To save a document with multiple tables as an html document: File> Save As> Web Page (* .htm, * .html) The disadvantage of this method is that it will create several files.
If you need a unique file, use File> Save As> Single File Web Page (* .mht; * .mhl) This will create a unique file (.mht) that you can open with a browser if you want (most browsers open these files )
Learn more about office.microsoft.com
EDIT: I have not posted any code here since it is very long (excel automatically adds some code to the file) EDIT2: If you are creating a program for this, I would recommend using existing libraries such as excellibrary
source share