Hello,
I have an excel sheet with the following structure: a merged cell (A1:B1) and a normal cell C1. The borders for cell A1 are set to thin for all borders. If I access the style for this cell via GetDisplayStyle(), the RightBorder LineStyle is none.
Code: workbook.Worksheets[0].Cells[0,0].GetDisplayStyle().Borders[BorderType.RightBorder].LineStyle
If I access the last cell in the merged range with the following code, it has the correct border information.
workbook.Worksheets[0].Cells[0,0].GetMergedRange().GetCellOrNull(0,workbook.Worksheets[0].Cells[0,0].GetMergedRange().ColumnCount-1).GetDisplayStyle().Borders[BorderType.RightBorder].LineStyle
Is this behavior intended?
Thanks!
Mel