Click here to Skip to main content
15,921,646 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
See more:
I have dev.xls file with sheet name as "Electricity". In my winform application, I want to read all this data and write it into another xls file (Test.xls) with sheet name as "Electricity_Processed". Any suggestions please?


If your spreadsheets are not too big, you could use GemBox.Spreadsheet which is a free component that will make coding what you want very easy:[^]

The website has plenty of Samples[^].

The free version has a limit of 5 sheets/ 150 rows per sheet and can be used for any purpose including commercially.

Share this answer
Member 8001800 15-Jun-11 8:53am    
My spreadsheet will have approximately 1500 rows. Is there any other way than using 3rd party dll's
You will need to look at automating Office applications using your VB.NET application.

A decent tutorial:[^]

And the obligatory MSDN link:[^]

At the bottom of the page there is example code.

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