Hi There,
I am using the latest version of Aspose.Cells to create excel files in my VB.Net web app. I ran into an issue where my date columns were not formatting correctly. I searched the forum and found out how to set each cell’s style number and it is working but I have 2 questions:
- Is there an Enum that represents all the style numbers?
- Is there a way to set the style for an entire column instead of doing it for each cell?
This is what I am currently doing:
Dim cellStyle As Style = sheet.Cells(rowIndex, columnIndex).GetStyle()
cellStyle.Number = 22
sheet.Cells(rowIndex, columnIndex).SetStyle(cellStyle)