As far as I know active X enables the excel sheet open in the browser. By disabling active x on your machine it should open it up straight away in excel.
Hi SonD
Don't know about disabling ActiveX but you can open an Excel file externally to the browser using it.
function openMSExcel()
{
var objExcel = new ActiveXObject("Excel.Application"
objExcel.Visible = true;
Book = objExcel.Workbooks.Add()
// Place some text in the first cell of the sheet.
Book.ActiveSheet.Cells(1,1).Value = "This is column A, row 1";
}
function openAnExcelDoc()
{
var objExcel = new ActiveXObject("Excel.Application"
objExcel.Visible = true;
Book = objExcel.Workbooks.Open("\\\\servername\\share\\blah.xls"
}
Hope I helped / Thanks for helping
if ((Math.abs(x)<10&&Math.abs<10) && (((parseInt(Math.abs(x).toString()+Math.abs.toString())-Math.abs(x)-Math.abs)%9)!=0)) {alert("I'm a monkey's uncle"}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.