Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old January 11th, 2004, 02:07 AM
Friend of Wrox
Join Date: Jun 2003
Location: abu dbabi, , United Arab Emirates.
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default html page save to excel format

How can save the html page to Excel format ?
so the html page can be open in Excel and can implement
function etc..

Excel data file can import into sql server,
I prepare report in html, data in sql server.
I could not export html file data to Excel file

How can save / export html page data into Excel by
the java script ?

just like following code, but this code save the file in html
I want to save the file in Excel
By the java script this is possible ?

Please help.


<P>web data page

function doSaveAs(){
    if (document.execCommand){
    else {
        alert("Save-feature available only in Internet Exlorer 5.x.")
<input type="button" value="save" onClick="doSaveAs()"
 form <></form>


Reply With Quote
  #2 (permalink)  
Old January 11th, 2004, 09:17 AM
Friend of Wrox
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post

take a look at http://www.greggriffiths.org/webdev/both/excel/ which covers something similar.
Reply With Quote
  #3 (permalink)  
Old January 17th, 2004, 04:48 AM
Friend of Wrox
Join Date: Jun 2003
Location: abu dbabi, , United Arab Emirates.
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts


Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to save user input in Excel from web page onlyshails Javascript 6 March 25th, 2015 11:02 AM
How to fit all column in 1 page in excel format? awiezzz Classic ASP Components 2 February 23rd, 2011 12:42 PM
Save a file in CSV format thru Excel VBA macro roli2712 Excel VBA 1 July 11th, 2007 03:05 AM
How do you save an html page on your local hd? rsalah Javascript How-To 16 January 27th, 2005 12:48 AM
how to save text with format?? 6cet6 ASP.NET 1.0 and 1.1 Basics 4 November 20th, 2003 05:49 AM

All times are GMT -4. The time now is 06:59 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.