With the help of the Web Page Query (LibreOffice Calc) import filter, you can insert tables from HTML documents in a Calc spreadsheet.
You can use the same method to insert ranges defined by name from a Calc or Microsoft Excel spreadsheet.
The following insert methods are available:
Set the cell cursor at the cell where the new content will be inserted.
Choose Sheet - Link to External Data. This opens the External Data dialog.
Enter the URL of the HTML document or the name of the spreadsheet. Press Enter when finished. Click the ... button to open a file selection dialog.
In the large list box of the dialog, select the named ranges or tables you want to insert.
You can also specify that the ranges or tables are updated every n seconds.
The import filter can create names for cell ranges on the fly. As much formatting as possible is retained, while the filter intentionally does not load any images.
Open two documents: the LibreOffice Calc spreadsheet in which the external data is to be inserted (target document) and the document from which the external data derives (source document).
In the target document open the Navigator.
In the lower combo box of the Navigator select the source document. The Navigator now shows the range names and database ranges or the tables contained in the source document.
In the Navigator select the Insert as link drag mode .
Drag the desired external data from the Navigator into the target document.
If you have loaded an HTML document with the Web Page Query filter as the source document, you will find the tables in the Navigator, named continuously from "HTML_table1" onwards, and also two range names that have been created:
HTML_all - designates the entire document
HTML_tables - designates all HTML tables in the document
Open Edit - Links. Here you can edit the link to the external data.