Click here to Skip to main content
15,896,726 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have one excel file which is stored in server. i want to retrive that file and delete first 10 rows from that excel. pls help me to do.

In my application i cant access the below header file

Microsoft.Office.Interop.Excel;
or
Microsoft.Office

so pls provide some alternate solution to solve my problem. this is very urgent.

Pls help

Thanks
Mohan
Posted

1 solution

Hi

You should use EntireRow.Delete for do that just follow of link for getting more information about it ;)

http://stackoverflow.com/questions/3550976/excel-automation-c-how-to-delete-multiple-rows[^]
Or you can find here other solution:
http://www.daniweb.com/software-development/csharp/threads/210020/c-excel-row-delete[^]

Best Regards.
 
Share this answer
 
v2

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