title: Import Excel data into F#
body: <p>I would like to import some basic data (only few integers) from an Excel file into a F# list.
  Here is the code I compute which open an Excel file, take the value of the Cell "C6" and 'store' it in a variable called l.
  However it does not compiled as an type error appeared. Indeed type of first value is obj. 
  How can I convert it into int?</p>
  
  <pre><code>//#r "Microsoft.Office.Interop.Excel"
  
  //#r "office"
  
  open Microsoft.Office.Interop
  
  
  let xlApp = new Excel.ApplicationClass()
  
  let xlWorkBook = xlApp.Workbooks.Open(@"C:\Users\Fabien C\Desktop\algo données.xlsx")
  
  let xlWorkSheet = xlWorkBook.Worksheets.["Produits"] :?&gt; Excel.Worksheet
  
  let firstValue = xlWorkSheet.Cells.[6,3]
  
  let (l : int) = firstValue
  </code></pre>