How get information from exel in javascript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How get information from exel in javascript

I want to build a web that checks every cells of a specific column and if the number in cell was greater than 5 print the left neighborhood cell. How can i get this information from exel

8th May 2020, 4:27 PM
Sadegh karimi sis
5 Answers
+ 1
There is a Microsoft Office Javascript API now: https://docs.microsoft.com/en-us/office/dev/add-ins/develop/understanding-the-javascript-api-for-office Another thing to do is save your excel file as .csv and process that in javascript. (You can open the csv file in your code editor, the file format is really easy)
8th May 2020, 8:13 PM
Schindlabua
Schindlabua - avatar
+ 2
Martin Taylor Yeah or you can also do a `<input type="file">`, "upload" a file, and then manipulate that with `FileReader`. But you can't read directly from the hard drive yeah.
8th May 2020, 8:50 PM
Schindlabua
Schindlabua - avatar
+ 2
Sadegh karimi sis I usually use the MDN for reference: https://developer.mozilla.org/en-US/docs/Web/API/File/Using_files_from_web_applications But there are probably easier tutorials out there. I don't know any tutorials though, I'm sure google will find lots.
9th May 2020, 2:52 AM
Schindlabua
Schindlabua - avatar
0
What is macro
8th May 2020, 5:21 PM
Sadegh karimi sis
0
Schindlabua How can i learn about filereader Syntexs ?
8th May 2020, 11:46 PM
Sadegh karimi sis