Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
Password Reminder
| FAQ | Members List | 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 11th, 2004, 03: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, 10: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, 05: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 Search this Thread
Search this Thread:

Advanced Search
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 01: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 01:48 AM
how to save text with format?? 6cet6 ASP.NET 1.0 and 1.1 Basics 4 November 20th, 2003 06:49 AM

All times are GMT -4. The time now is 12:13 AM.

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