The TABLETOHTML() function converts Excel (Calc) table to "HTML" format.
=TABLETOHTML(Range; [Indent])
The TABLETOHTML() function is easy to use. You just need to select a table or specify any range of cells with values, and Excel (Calc) will automatically return the text in "HTML" format:
=TABLETOHTML(Range)
We will get the following result:
In this example, the following values are used:
You can use the function TABLETOHTML() by installing the extension YLC Utilities.
After this, this function will be available in all files that will be opened in Excel (LibreOffice Calc).