Importing HTML Tables into a Calc Document

From NeoWiki

Revision as of 17:06, 10 March 2007 by Jgd (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search
This article is not up to date, or it needs structural or stylistic changes to conform with the rest of this wiki.

The Calc module of NeoOffice allows you to save tables from HTML pages. Several methods are available. One of them allows you to synchronize your tables with those of the internet site.

Saving without synchronization

With almost all navigators, you can select the table on the web page, then simply copy/paste it in a spreadsheet.
Sometimes all the table is pasted in only one column. Then you can use one of the following methods:
First method :

  • Copy the table Cmd-C.
  • Open a Calc document and in the Edit menu, choose the Paste Special… and one or the other option can give the desired result.

Second method, usable if the page is publicly accessible:

  • Open a Writer Web document. To do that :
    • Go in the File menu, choose the New sub-menu and the HTML Document item.
  • Copy the URL of the web page which contains the desired table then paste it in the Load URL field located on the top and on the left side of the document toolbar.
  • Press Enter or Return.
  • Select the table you want to insert in a spreadsheet, copy it Cmd-C.
  • Paste it Cmd-V in your Calc document.

Saving with synchronization

The web page must be publicly accessible.
If you want your table being synchronized with the web page, you can proceed in the following way:

  • Open the web page which contains the table you want to import.
  • Copy the URL.
  • Open a Calc document then select a cell.
  • Choose the Link to External Data… sub-menu of the Insert menu.
  • Press Enter or Return.
  • In the dialog that appears you'll see in the Available tables/ranges section among several options HTML_tables and HTML_all.
  • Select the table you want to insert and click OK. If you are not able to find it, select HTML_all. Later you will be able to copy/paste the part being of interest to you.
  • You may specify a synchronization rate by checking the Update every checkbox and setting the synchronizations rate in the provided box.


This article in other languages: Français Italiano
Personal tools