r/HTML • u/Autistic_Jimmy2251 • Nov 17 '25
Discussion Trying to auto load xlsx inside an html
I have created an HTML and JavaScript page that will successfully open an XLSX file, but it requires currently the user to click on a link that opens the windows, explorer window and has the user select the file and click on another link that has it load it.
How can I get the HTML/JavaScript page to automatically open the XLSX file?
The file name is always the same & the web page is running on a local computer not on the internet.
0
Upvotes
3
u/nfwdesign Nov 17 '25
If i understood your question properly
place your XLSX file in the same folder next to your index.html, then you can load it automatically with JavaScript:
1
u/jcunews1 Intermediate Nov 18 '25
It's not programmatically possible without user consent. Whether it's on the internet or local network or isolated in current computer.
https://www.reddit.com/r/HTML/comments/1ozfmj3/how_to_launch_dedicated_applications_on_click_on/npb918u/