title: C# excel format Condition
body: <p>I am trying to use Excel conditional formatting in C#.  Below is the code:</p>
  
  <pre><code>Excel.Range rangeFormat = ws.get_Range("F1", "F1");
  Excel.FormatConditions fcs = range.FormatConditions;
  Excel.FormatCondition fc = (Excel.FormatCondition)fcs.Add
      (Excel.XlFormatConditionType.xlExpression, Type.Missing, "=IF($F$1) &gt;= 10", Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
  Excel.Interior interior = fc.Interior;
  interior.Color = ColorTranslator.ToOle(Color.Red);
  interior = null;
  fc = null;
  fcs = null;
  </code></pre>
  
  <p>However, I am getting a <code>ParameterCountException</code> but I am sure that I have given it the correct number of parameters.</p>