title: How can I ignore Excel cell value if text is struck through?
body: <p>I'm parsing an Excel spreadsheet using Microsoft's Excel Interop.  I was instructed to ignore any values that have been "stricken through" (see image).</p>
  
  <p><img src="https://i.stack.imgur.com/SToJY.png" alt="enter image description here"></p>
  
  <p>The code I'm using to get the value is simple:</p>
  
  <p><code>string cellValue = Convert.ToString(cell.Value);</code></p>
  
  <p>Maybe I could check each character in the <code>cellValue</code> to see if its ASCII code is beyond an acceptable range?</p>
  
  <p>EDIT: With the help of the answer below, I was able to solve this by doing the following:</p>
  
  <pre><code>if (cellValue.Font.Strikethrough)
  {
    continue;
  }
    else
  {
    // process value
  }
  </code></pre>