This project has moved and is read-only. For the latest updates, please go here.

Getting cell's column

Jun 30, 2011 at 6: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 6: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:

cell.CurrentRow

cell.ThisRow

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,