QAds
12 Ay Taksit
Canon Digital Rebel XSi 12.2 MP Digital SLR Camera with EF-S 18-55mm f/3.5-5.6 IS Lens (Black)
$363.00
Motorola RIZR Z8 Ferrari Quad-Band, 2 MP Camera, MP3 Player and MicroSD Slot
$194.99
Motorola RIZR Z8 Ferrari Quad-Band, 2 MP Camera, MP3 Player and MicroSD Slot
$194.99
Nokia N97 3G, 5 MP Camera, A-GPS, 32 GB, MicroSD Slot
$374.99
:: HOME » JavaScript » Read a Excel file through javascript
 
Read a Excel file through javascript
Read a Excel file through JavaScript and display it in form HTML cols ans rows
Look for GetObject or ActiveXObject for JavaScript.

ActiveXObject example :


var handle= new ActiveXObject("Excel.Application");
var handle_file = handle.Workbooks.Open("excelfile.xls");
var handle_sheet = handle.Worksheets("SheetName");
data = handle_sheet.Cells(1,1).Value;

GetObject Example :

var handle= GetObject("excelfile.xls", "Excel.Application");
var handle_sheet= handle.Workbooks("SheetName");
data = handle_sheet.Cells(1,1).Value;

You should define excel file location exactly same as it locates on server
NEW ANSWER
 
Your E-Mail Address
»
Your e-mail will never be shown!  
   
 
Answer
»
Please type your ANSWER and please use [CODE] tag for your codes!  
  Add CODE Quote BOLD ITALIC Underline Align Left Align Center Align Right Add Line  
   
 
Human Check
»
Enter human check code below!  
   
 
       
 
 
Website Designer, Search Engine Optimization Expert, Ajax Developer,Developed And Designed By Mumin Celik With Using PHP, MySQL, CSS, JavaScript, Ajax And Search Engine Optimizer Sinema ve Film Rehberi Sudoku Oyunu