Hi,
Good day to you. I have a two fold problem. Firstly I would like to be able to retrieve the length of a specific column (eg say I have 6 columns, I would like to know the length of cells that have data in them).
Secondly as I would like to be able to programmatically access the data in cells within a specific column and then add them to a list object.
I have tried the following code but it tells me that columns do not have enumerators to use foreach loops
List myList = new List();
Worksheet wksheet = this.StockWorkBook.Worksheets[0];
Aspose.Cells.Column col;
col = wksheet.Cells.Columns[4];
foreach (Aspose.Cells.Cell cell in col)
{
MyList.Add(Convert.ToDecimal(cell.Value.ToString()));
}
Many thanks
This message was posted using Aspose.Live 2 Forum