Anyone know the code to add a column using C#. If not then I'll take some VBA code. What I tried there below did not work.
rangeXX = ws.get_Range("Q1", "Q1").EntireColumn;
rangeXX.Select();
ws.Columns.Insert(Excel.XlInsertShiftDirection.xlShiftToRight,
Type.Missing); // cannot shift items off sheet
Bookmarks