Link to home
Start Free TrialLog in
Avatar of webhsu
webhsu

asked on

Exporting to an Excel Database

Hey,

I retrieve data from a database, put the information in a table(html) and allow the user of the application to view it in excel if he/she so chooses. I would like to put different tables into different workbooks inside excel.

Anyone have a suggestion?

Thanks,

Weber
Avatar of applekanna
applekanna

set the contect type as "text/vnd.msexcel"
typo there

response.setContentType("application/vnd.ms-excel")
Avatar of webhsu

ASKER

I actually have exported data to excel already. just need to split it into different workbooks within the same excel session.
ASKER CERTIFIED SOLUTION
Avatar of jimmack
jimmack

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanx.

I'm glad it's worked.  Could you confirm which versions of Excel this works with please?  (I'm a Linux user so it's a bit difficult to check ;-))
Avatar of webhsu

ASKER

office 2k.
Thank you ;-)