Hi,
I do not get the value of cell.StyleIndex.Value, within the following codes
against this file. Why?
I do not get the value of cell.StyleIndex.Value, within the following codes
WorksheetPart worksheetPart = (WorksheetPart)workbookPart.GetPartById(sheet.Id);
WorkbookStylesPart wstylePart = workbookPart.WorkbookStylesPart;
Stylesheet ss = wstylePart.Stylesheet;
foreach (Cell cell in worksheetPart.Worksheet.Descendants<Cell>())
{
if (cell.StyleIndex != null)
{
...against this file. Why?
Many Thanks & Best Regards, Hua Min