LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Olivia Towery
 
Posts: n/a
Default CreateObject("Excel.Application")

Each month this object runs in an asp application to create a workbook from
5 separate tables in a SQL 7.0 db. The app is great and performs
successfully with the exception if the file is large - maybe 1000 lines per
spreadsheet - 800KB. The last lines of code are as follows:

xls.ActiveWorkbook.SaveAs server.MapPath(".") & "\" & fName
xls.Quit

Set xls = Nothing ' Release the object variable.
set rsTbl1 = Nothing

Response.Redirect ("https://www.foo.org/" & strChap & "/admin/" &
strRedirect & ".asp?File=" & strfile & "")

Once it completes the SaveAs command, the app hangs. It never quits or goes
to the response.redirect. Does anyone no how to fix this issue? Or if I
should be in another newsgroup?

Olivia


 
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



All times are GMT +1. The time now is 02:28 AM.

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

About Us

"It's about Microsoft Excel"