Click here to Skip to main content
15,920,217 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
My application is taking all data from a HTML file and creating an EXCEL file.Which i can able to do . But now according to the new requirement we need to do the same in the absence of MS EXCEL (Not installed)in the machine.

Kindly please guide me.

Thanks
Posted
Updated 19-Apr-11 1:55am
v2

This article[^] will tell you all you need to know. Don't forget to vote him a 5 for the good quality and ease of use.

[edit]I just discovered that I have already given you this information in response to a previous question which is exactly the same. Please do not keep reposting the same questions, especially when you have been given answers. If you need to add supplementary information then update the original.[/edit]
 
Share this answer
 
v2
Comments
pjhelp 19-Apr-11 8:33am    
Thanks for your reply.
But is this able to copy data from HTML to an EXLX formated file.And also is this indipendent of Office 2007 in the machine.I mean, can it be able to create Excel file with out MS Excel.
Richard MacCutchan 19-Apr-11 10:03am    
Why don't you try reading the article and find out?

As to converting HTML to Excel there is no commonality of data between them, so you will need to write the code to extract the data from the HTML and reformat it into Excel cell values.
You can use ADO.Net to interact with Excel files even if Excel is not installed. If I remember correctly, if you use .Net Framework 4.0, and use Microsoft.Interop.Excel then you can elect to embed the interop assembly in the installation.

Hope this helps
 
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