How can I....

Results 1 to 3 of 3

Thread: How can I....

  1. #1
    Join Date
    Dec 1969

    Default How can I....

    I have some data in a table and now when a user clicks on a button it makes an .xls excel file using the filesystem object. What I need now is for the data to be put into a excel window in the browser like if you had click on an .xls file link. I can do this if the file has already been made and you click one it. But I don’t want to create the file I just want it to appear in a window and give the user a chance to select Save As from the file menu if the user wants to save it. So instead of making the file with the filesystem object I just want the data to be sent to the next window that is a excel window in the browser.<BR><BR>How can this be done? Do you have an article URL?<BR>Thanks<BR>

  2. #2
    Join Date
    Dec 1969

    Default R&D "Automation" <EOM>


  3. #3
    Join Date
    Dec 1969

    Default Set the content-type of the page

    Use an ASP page to send data back to Excel on the client, rather than the browser, by setting the content-type:<BR><BR>Response.ContentType = "application/"<BR><BR>You&#039;ll find some examples here:<BR><BR><BR><BR>Best to avoid automation if you possibly can (it&#039;s very resource intensive).

Posting Permissions

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