title: How can i open an existing Excel file using the classic asp
body: <p>I have an immediate requirement where I need to open some specific excel sheets from an existing Excel file which resides on a system. I want to know how this can be accomplished using <strong>Classic ASP</strong>. I tried searching on the internet but couldn't find anything specific. Need some suggestions...:)</p>
  
  <p>I hope this makes sense </p>
  
  <p>I tried below code but all in vain. </p>
  
  <pre><code>&lt;html&gt; 
  &lt;body bgcolor="white" text="black"&gt; 
  
          &lt;%Dim xlObject, xlBook,wks Set xlObject = CreateObject("Excel.Application") xlObject.visible = False 
          Set xlBook = xlObject.Workbooks.open("C:\\Users\\Administrator\\Desktop\\Final Help file 11june13.xls") 
          Set wks = xlObject.ActiveWorkBook.Worksheets(1) 
          response.Write("permbajtja e qelizes eshte: "&amp;wks.Cells(3,1)) 
          xlBook.Close xlObject.Quit 
          Set wks = Nothing 
          Set xlBook = Nothing 
          Set xlObject = Nothing %&gt; 
      &lt;/form&gt;
  &lt;/body&gt; 
  &lt;/html&gt;
  </code></pre>