How to delete columns in OWC10?

B

barbara_dave

Hi All,

I have a VB.NET program and use OWC10 to display a spreadsheet. I want
to delete 1 column, but it failed. Here is my code:

obj.csvsheet.ActiveSheet.Range(Col_Header(i) & 1).DeleteColumns(1)

I also try:

obj.csvsheet.ActiveSheet.Range(Col_Header(i) & 1).EntireColumn.Delete
()

it failed too.

how to delete a column? please help me! thanks!
 
B

barbara_dave

Hi All,

I have a VB.NET program and use OWC10 to display a spreadsheet. I want
to delete 1 column, but it failed. Here is my code:

obj.csvsheet.ActiveSheet.Range(Col_Header(i) & 1).DeleteColumns(1)

I also try:

obj.csvsheet.ActiveSheet.Range(Col_Header(i) & 1).EntireColumn.Delete
()

it failed too.

how to delete a column? please help me! thanks!

Hi all,

I am still looking for the answer of this problem. Actually I have
code that is working for OWC9 in my Visual Studio .NET 2003 program,

mySheet.ActiveSheet.Range(Col_Header(i) & 1).DeleteColumns(1)

but it doesn't work for OWC10. Why? How to make it work for OWC10 in
Visual Studio 2005?

Thanks in advance!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top