title: Printing Range of Excel cells using interop [c#]
body: <p>I'm trying to print range of excel file, however when I write this lines <code>Range("A:1","D10")</code> is underlined with statement that "Non-invocable member of _Worksheet.Range[object, oject] cannot be used like a method".</p>
  
  <p>How do i change this and make it work? </p>
  
  <p>(I'm using COM Microsoft.Office.Interop.Excel)</p>
  
  <pre><code>xlWorkSheet.Range("A1:D10").PrintOutEx(misValue, misValue, misValue, misValue,
          misValue, misValue, misValue, misValue);
  </code></pre>