There are nuerous ways to do this...the two most common are:
Get the data from SQL into Excel via ADO
or
Get the data into recordset structures and pass that data into an Excel template file
Use standard ADO techniques for getting the data to your ASP layer then invoke an instance of Excel(must be installed on the server) opening the template and inserting the data into a pre-defined cell range….you can hang charts and graphs off this data range…or do anything you want with it via macro’s etc….
hi
if excel isn't available on the server (can be the case with IIS servers)
then you can setup a csv.dsn (Microsoft Text Driver)
you can then use ADO to operate on comma delimetered files. these can be
be moved to the client and opened in excel
phil
Is there a way to have the client's version of Excel programatically open in order to display the newly created spreadsheet without programatically saving it?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.