How to export html table to excel sheet

User Help for Mozilla Firefox
Locked
manishsharmagr8
Guest

How to export html table to excel sheet

Post by manishsharmagr8 »

Hi,

Can any one tell me how to export a html table to excel sheet or save it in excel format.

Thanks,

Manish Sharma
User avatar
LoudNoise
New Member
Posts: 39900
Joined: October 18th, 2007, 1:45 pm
Location: Next door to the west

Post by LoudNoise »

You cannot from Firefox as such. Excel may have a method of importing tables but that would have to be taken up in one of the Microsoft forums.
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
User avatar
trolly
Moderator
Posts: 39851
Joined: August 22nd, 2005, 7:25 am

Post by trolly »

One thing that can work is selecting the table, copying it to the clipboard and insert it with "Paste Special".
If it really works depends on many parameters.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
User avatar
RobertJ
Moderator
Posts: 10880
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post by RobertJ »

FF 92.0 - TB 78.13 - Mac OSX 10.13.6
User avatar
jscher2000
Posts: 11762
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA
Contact:

Post by jscher2000 »

If this is for yourself, I suggest using an Excel web query. In Excel (2002-2003):
  • Data > Import External Data > New Web Query
  • Paste the URL and load the page. (This uses the IE rendering engine.)
  • Click the yellow arrow for the table you want and Excel will insert it into your sheet.

Note that this is linked to the web, with cached data. If you update the link, it may discard the cached data.

More info:
http://office.microsoft.com/en-us/excel ... 51033.aspx (Office XP)
http://office.microsoft.com/en-us/excel ... 81033.aspx (Office 2000)
http://msdn2.microsoft.com/en-us/librar ... (office.11).aspx (Office 2003 - technical)

On the other hand, if you want to generate a new page using JavaScript or your server-side code, that probably would get a better response on the mozillaZine Web Development board. If you register on this forum, you can request a moderator to move it over in the "Moderation...Requests" sticky thread here: MozillaZine Site Discussion.
Locked