Reputation: 11
I was wondering if this is at all possible without server-side code: I want to make a HTML file that when loaded will pull information from a excel spreadsheet. What language would I do this in? I can't use a server-side language like PHP.
Thanks in advance for the help!
Upvotes: 1
Views: 383
Reputation: 2817
This may help you: http://www.codeproject.com/Questions/85672/Read-Excel-values-using-Javascript, but you need to have Excel installed in your computer (and the computer running your program). My advice, use server side code (PHP is a good one), and you'll be able to use this nice library: http://phpexcel.codeplex.com/
Upvotes: 2
Reputation: 308
You might try considering converting it from XLS to CSV and then make use of JavaScript to handle the parsing.
This discussion may also be relevant to you - JavaScript & CSV
Upvotes: 0
Reputation: 6711
XLS is a binary proprietary format. Doing this with javascript is nearly impossible. However, with HTML5 File API you can read its binary contents but in order to parse and interpret it you will need to get into the specifications of the XLS format.
If this is helpful please accept! Good luck!
Upvotes: 0