What is xlshtml?
I want to generate as easy as possible a file that opens in Excel when the user double-clicks it, and which has a minimal style.
XLS meets my user requirements, but itβs not easy to generate. CSV is easy to generate, but lacks style. HTML is easily generated and has a style, but does not open in Excel when you double-click (you can File-> Open, but this is not enough, and you can save it as .XLS, but then the user receives a warning).
I see in the file extension associations on this PC that there is the extension ".xlshtml", "Microsoft Office Excel HTML Document", which opens in Excel by default. It looks promising. However, I canβt understand what it is. This is not just HTML (which gives a warning as above, which points to my plain HTML). My version of Excel cannot save it. MSDN has virtually nothing, and Google seems to only enlarge the pages that are listed as a possible file name extension for Excel files.
Does anyone know what it is? Is this some kind of special kind of HTML that Excel likes? Does anyone have a pattern that I can see?
EDIT: based on the Divo hint, I found this . This is similar to the Office 2000/10 feature, which allows you to save HTML with additional Office built-in features on the XML islands. This seems like a pretty strict format that they are deprecated because no one has used it. I am still browsing the documents that I found, but I still have not figured out how to make a file in this format.
source share