C# Excel cell content partially strikeout

G

Guest

Hi All,

Does anyone have any idea in detecting the data of a particular cells in
Excel is partially strikeout?

I have tried :

cell.IsStrikeThrough = System.Convert.ToBoolean(rowFound.Font.Strikethrough);

the cell is simply an struct object, and the rowFound is Excel.Range object.

This line of code works fine if the content in the rowFound is fully
strikeout or not strikeout. But when it comes to a cell's data which is
partially strikeout, it will return an System.DBNull.

Appreciate if anyone can provide an idea or example to check if the content
in a cell is partially strikeout, and how to determine the characters of the
cell where it starts to strikeout.

Thank you very much!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top