var Excel; Excel = new ActiveXObject("Excel.Application"); Excel.Visible = false; var a=Excel.Workbooks.Open("C:/desktop/info.xlsx").sheets(1); for(var r=1;r<=a.usedrange.rows.count;r++) { abc[r-1]=new Array() for(var c=1;c<=a.usedrange.columns.count;c++) abc[r-1][c-1]=a.Cells(r,c).Value; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)