QAds
Nokia N8 Touchscreen Phone Beyaz - gps navigation, Voice Navigation, 12 MP Camera
$449.99
Apple iPod shuffle 1 GB Yesil
$35.00
Samsung S5233 with 3 MP Camera, MP3 player
$136.29
Coby MP305-4G MP3 Player
$16.05
:: 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!  
   
 
       
 
 
mc sinema sudoku