title: Input value to an Excel file
body: <p>I wrote an AutoIt script to get an input value and save that in an Excel file:</p>
  
  <pre><code>#include &lt;Excel.au3&gt;
  #include &lt;Array.au3&gt;
  
  Local $oExcel = _Excel_Open()
  Local $oWorkbook = _Excel_BookNew($oExcel)
  Local $aArray1D[1] = ["1"]
  
  _Excel_RangeWrite($oWorkbook, $oWorkbook.Activesheet, $aArray1D, "A1")
  _Excel_BookSaveAs($oWorkbook, "C:\Desktop\Data.xls")
  _Excel_BookClose($oWorkbook)
  </code></pre>
  
  <p>But I get the below error on compiling:</p>
  
  <pre><code>_Excel_Open() : undefined function
  </code></pre>
  
  <p>and the same for <code>_Excel_BookNew()</code>, <code>_Excel_RangeWrite()</code>, <code>_Excel_BookSaveAs()</code> and <code>_Excel_BookClose()</code>. I'm not able to rectify it.</p>