Spire.XLS for .NET is a professional Excel .NET library that can be used to any type of .NET( C#, VB.NET, ASP.NET, .NET Core) application, both ASP.NET web sites and Windows Forms application.

Tue Jan 18, 2011 7:49 am

Hi,

I want to delete 1 or 2 columns in my excel worksheet, could you please tell me how to do it with Spire.XLS for .NET?

Thanks
Last edited by rick.ben15 on Wed Jan 19, 2011 1:22 am, edited 1 time in total.

rick.ben15
 
Posts: 4
Joined: Tue Dec 28, 2010 1:13 am

Tue Jan 18, 2011 8:34 am

Thank you for your inquiry!
Please call sheet.DeleteColumn() method and pass the column index(base=1) as the parameter.
e-iceblue support
User avatar

iceblue support
 
Posts: 240
Joined: Tue Dec 21, 2010 2:56 am

Return to Spire.XLS