Excel - excel.interop insert a column in between existing columns

Asked By cupbo on 05-Mar-09 05:35 PM
Any example of how to do this? I tried this, but it does nothing....

rangeXX = ws.get_Range("Q1", "Q1");
rangeXX.Columns.EntireColumn.Insert(Excel.XlInsertShiftDirection.xlShiftToRight,
Type.Missing);




JLGWhi replied on 05-Mar-09 07:32 PM
Sub dk()
Columns("D").Insert
End Sub