i am trying to write on write excel file with following java script but i am getting error Microsoft Office Excel cannot access the file
<pre><code>&lt;html&gt;
&lt;html&gt;
&lt;script&gt;
function mytest1() {
    var Excel, Book;    // Declare the variables
    Excel = new ActiveXObject("Excel.Application"); // Create the Excel application 
                                                    //    object.
    Excel.Visible = false;  // Make Excel invisible.
    Book = Excel.Workbooks.Add()    // Create a new work book.
    Book.ActiveSheet.Cells(1,1).Value = document.all.my_textarea1.value;
    Book.SaveAs("C:/Users/Administrator/Desktop/web page/TEST2.xls");       
    Excel.Quit();   // Close Excel with the Quit method on the Application object.
}
 &lt;/script&gt;
 &lt;body&gt;
&lt;form name="form1"&gt;
    &lt;input type=button onClick="mytest1();" value="Send Excel Data"&gt;&lt;input type=text   
                name="my_textarea1" size=70 value="enter ur data here"&gt;
 &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>i am trying to write on write excel file with following java script but i am getting error Microsoft Office Excel cannot access the file .i am getting error Microsoft Office Excel cannot access the file . </p>
