Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I have a report that is created in html. I want to create an excel worksheet showing the tables in the report. I've created a print link on the page that opens the printing dialogue box. From there it prints the report as it is. I cannot find any option for printing it to excel.

Is there any way to export the tables to excel worksheet????
Posted
Updated 4-Apr-11 20:52pm
v2

Hi
Try to take a look at Office Development in Visual Studio[^]
There is a section called Excel Solutions[^] and there is a section called "Automating Excel"

Via "Automating Excel" you can create a new Excel worksheet and fill in data from your datasource. The same way you do when creating you html file.
 
Share this answer
 
does that mean that there is a html file that when loaded into a browser shows a table and you want this to be exported to excel.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900