Hi,
I have just started looking at Aspose Cells for .NET and got stumped with my first worksheet.
I created a worksheet with around 30 columns and I have hard coded each column letter. I realised that I missed a couple of important columns which should appear in column B and C. It then hit me that I will now have to manually set all the columns again. I now realise that I should store the column letter in a variable. Is there a way to get the next letter so this can occur dynamically?
//fullname
cell = cells[$“A{cnt}”];
cell.PutValue(obj.Fullname);
//gender
cell = cells[$"B{cnt}"];
cell.PutValue(obj.Gender);
//date of birth
cell = cells[$"C{cnt}"];
cell.PutValue(obj.DateOfBirth);
and so on…
Thanks in advance,
Jono