title: Excel-C#: How to read the formulas from a cell?
body: <p>With this method I read the content of a cell:</p>
  
  <pre><code>Range range = (Range)sheet.Cells[i, j];
              if ((range == null) || (range.Value2 == null)) return "";
              return range.Value2.ToString();
  </code></pre>
  
  <p>But how can I read the formula from a cell?</p>