title: Using Interop Excel to export gridview to excel
body: <p>Planning on using interop on my project because the previous methods give me a popup warning every time the file is opened in excel saying that the version is different from the file format.</p>
  
  <p>Question is, which Object Library version do I have to add to my project's References? According to the ms site:</p>
  
  <pre><code>http://msdn.microsoft.com/en-us/library/ms173186(v=vs.80).aspx
  </code></pre>
  
  <p><code>Depending on the version of Office installed the Excel Assembly may be called Excel 10 Object Library or Excel 11 Object Library.</code></p>
  
  <p>Does this mean that interop can only be used with one version of Excel? If I use this certain version of Object Library, then I can only use it in par with Excel 2003. Is that what this mean?</p>