QAds
12 Ay Taksit
Apple iPod touch 32 GB
$138.10
Motorola PEBL U6 Camera and Bluetooth
$59.28
Apple iPad 32gb Wi-Fi
$378.62
Apple iPad 32gb Wi-Fi
$378.62
:: 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