LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default excel reporting through vb.net

i want to open an excel workbook on the server thorough asp.net dump data
from a database and save it on the server and then allow the user to either
open or save that xls file. i am using the following code:
xlWorkBook = New Excel.Application().Workbooks.Open(path, Type.Missing,
False, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing) 'to open
xlWorkSheet = xlWorkBook.Worksheets("EffortsData") 'to get worksheet object
of a particular worksheet
xlWorkSheet.SaveAs(path, Type.Missing, Type.Missing, Type.Missing, False,
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing) 'to save

while debugging code on the server and on my local machine it runs perfectly
fine but while connecting through the website it gets stuck and gives no
error.
please help
 
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
Project Plan reporting in excel Urgent question regarding LIST[_2_] Excel Discussion (Misc queries) 1 January 29th 08 10:57 PM
Sage excel reporting Martin50 Excel Discussion (Misc queries) 0 August 25th 07 12:56 PM
Excel and internet reporting! marsupilami Excel Discussion (Misc queries) 0 July 26th 05 01:02 PM
Excel as a reporting tool [email protected] Excel Discussion (Misc queries) 2 May 12th 05 04:30 PM
Stop excel from reporting replacements Chris Excel Discussion (Misc queries) 1 January 7th 05 01:37 AM


All times are GMT +1. The time now is 09:37 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"