Results 1 to 8 of 8

Thread: View Excel in a web page

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Ireland
    Posts
    224
    Hi guys,
    I have two question. I was wondering if anyone knows how to view and existing excel spreadsheet through a web page. And secondly, how do I update this using and ASP form.
    Thanks
    JK

  2. #2
    Addicted Member
    Join Date
    Jun 2000
    Location
    Pittsburgh, PA
    Posts
    149
    I know in ie all you have to do is download the document if you have excel installed on the client and it will run excel in the browser. As far as mimicking an excel document through asp, thats a bit messy from my experience. It may be easier to run some vba code in that excel document and put the inforamtion in an xml document and then run the xml parser through asp and put the page together that way. Hopefully somebody else here has a better background and may have a simpler answer.

  3. #3
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    I believe Excel 2000 will save the doc as a mix of HTML/XML so it's ready to be viewed by IE 5+ when you choose "Save as web page..."

  4. #4
    Addicted Member
    Join Date
    Jun 2000
    Location
    Pittsburgh, PA
    Posts
    149
    well that makes it a hell of alot easier then. We had to write out the vba code to get it to build the xml in 97

  5. #5
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    That would piss me off if I did all that, got it working, then MS gets it automated for me.....

    the quote "experience is what you get when you didn't get what you really wanted" comes to mind

  6. #6
    Addicted Member
    Join Date
    Jun 2000
    Location
    Pittsburgh, PA
    Posts
    149
    doesnt it I had a friend who spent a month in a half working on this problem with sql server and some dts stuff with excell and email. called ms and did a bunch of research for it...he finally gets it to work the way they wanted and no more that 2 days later ms releases a patch for sql server fixing it and he could have done it all in under an hour. Now that would piss you off Hes still mad about that and that was over a year ago.

  7. #7

    posting data into excel spreadsheet.

    you can post data into a spreadsheet the same way you would do with an excel database... you just need to select the excel driver, the connection string would be something like this... (may need some tweaking).

    Code:
    "Provider=MSDASQL;DRIVER={Microsoft Excel Driver (*.xls)};DBQ=c:\yourexcelsheet.xls;UID=sa;PWD=;"
    *urp*

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Ireland
    Posts
    224
    Thanks a lot

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width