Menu

#16 row.Cells[n].Style.Font is null

open
nobody
None
5
2012-03-20
2012-03-20
Anonymous
No

I need to check a cell for font strikeouts (Font.Options). But if the cell is using the default font for the worksheet, row.Cells[n].Style.Font is null, even when the cell itself has strikeouts applied to the contents.

If I change the font to something different, then row.Cells[n].Style.Font is no longer null and I have access to the strikeout within Font.Options.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB