read the excel sheet using javascript?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sanjuindia2005
    New Member
    • Feb 2008
    • 1

    read the excel sheet using javascript?

    How can i read the excel sheet using javascript ?
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    you cannot do that with standard javascript ... but in case you want to have an IE only solution you could search for jscript-code that contains something like:

    Code:
    new ActiveXObject("Excel.Application");
    kind regards

    Comment

    • rnd me
      Recognized Expert Contributor
      • Jun 2007
      • 427

      #3
      would you be against coping and pasteing the spreadsheet into a text-box?

      it is then very simply to turn the text into a meaningful javascript 2d array.

      also, saving it as a ".csv" file would make it very simple to open via ajax into your script. if that sounds workable for you, i can post some examples.

      Comment

      Working...