[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.interop

How Can I Add Columns to Excel Worksheet Using Interop

Brad

4/26/2007 12:54:00 AM

I am writing a C# application that programmatically creates and populates an
Excel spreadsheet using the Excel Interop facilities.

My question is this: How can I programmatically add columns to my worksheet?
Let's say I have data in columns A-D, but I want to add 2 new columns just to
the right of column C. How would I do that?

Thanks!