How to GET a column instead of insert a new one?

Aug 9, 2009 at 3:36 AM


  I want to get a cetain column , but after some hard search , I didn't find any way.

  I mean something like this:

Column clm=worksheet.Columns[0];


  I saw DimonNew's post of insert a new column:

Columns cols = new Columns( new Column() { Min = 7, Max = 7, CustomWidth = true, Width = 20} );

worksheetPart.Worksheet.InsertBefore<Columns>(cols, worksheetPart.Worksheet.GetFirstChild<SheetData>());


But is there any way of get the column instead of insert?