Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

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