tags:

views:

34

answers:

3

Hi,

Can anybody send me the code sample to read one excel file and write the content of the excel file to another excel file. It is very urgent. Please help me on the same.

+2  A: 

Have a look at Microsoft.Office.Interop.Excel namespace. Here are some examples from Microsoft.

Adrian Faciu
+1  A: 

For exporting to Excel, you can try Aspose if you're OK with paid third party tools.

blntechie
+1  A: 

Check these links:

http://excelwrapperdotnet.codeplex.com/

and

http://exceldatareader.codeplex.com/

After reading, you need to modify accordingly.

RPK