Getting cell's column

Jun 30, 2011 at 5:12 AM

I know it is possible to get a cell's column by using the following code:

var column = sheet.Column(cell.Address.ColumnNumber);

Is there a more elegant way to achieve the same? Perhaps:

var column = cell.Column

Jun 30, 2011 at 5:21 AM

This will be bundled with the other request. I'm going to toy with the function names I'll use, the first things that came to mind were:



I can't use cell.Row() because I want this functionality to be available to range rows as well and they already have a Row method.

Thanks again,