QAds
12 Ay Taksit
Samsung SL30 10MP Digital Camera with 3x Optical Zoom and 2.5 inch LCD
$69.74
Samsung SL30 10MP Digital Camera with 3x Optical Zoom and 2.5 inch LCD
$69.74
Motorola RIZR Z8 Ferrari Quad-Band, 2 MP Camera, MP3 Player and MicroSD Slot
$194.99
Canon Digital Rebel XT 8MP Digital SLR Camera with EF-S 18-55mm f3.5-5.6 Lens
$254.25
:: 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