LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default returning Excel sheet with ASP

check out http://www.greggriffiths.org/webdev/both/excel/ which covers
this.

Holli wrote:

Hi,

I am creating an Excel sheet in a ASP using vbscript:

Set objXL = CreateObject("Excel.Application")
Set objWB = objXL.Workbooks.Open(filename)

The Excel file (filename) that I am opening serves as a template and
has some pivot tables in it. Then I am inserting som data into that
Excel sheet and at the end I would like to return the Excel sheet to
the user. I know I can do that by saving the file and then redirecting
the response to the saved file. However, that means I would have to
create a new file name each time the page is called and then I have to
do some clean-up later (which I am also not sure how to efficiently).

Can I somehow stream the Excel.Application object to the browser and
avoid having to save a temporary file to disk?

Any help is very much appreciated,

Holli


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching for keyword in sheet 1 and returning the whole row intosheet 2 Holly Carson Excel Worksheet Functions 4 October 28th 09 08:27 PM
Matching and returning values to a master sheet in Excel 2007 Pete Excel Worksheet Functions 0 February 7th 08 03:36 PM
Max Value Across Worksheets Returning Sheet Name [email protected] Excel Discussion (Misc queries) 2 June 13th 07 01:01 PM
returning a sheet to blank orginal status? Mile029 Excel Discussion (Misc queries) 2 July 13th 05 08:28 PM
Returning data to Excel sheet from MS query SNB Excel Discussion (Misc queries) 0 April 27th 05 01:27 AM


All times are GMT +1. The time now is 05:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"