Reputation: 501
Is there any way to take an excel workbook, and display it on a webpage with the same formatting as the workbook? Im wondering if there is a way to take an excel workbook and paste the contents on a webpage. Basically im looking for something to screenshot the excel document and paste in in my webpage... Is there any way to do this??? (Maybe something similar to Zoho Viewer: https://sheet.zoho.com/sheet/excelviewer)
After Adding the Excel Workbook
NOTE: I am using xlsxwriter to populate the excel sheet.
Upvotes: 2
Views: 809
Reputation: 3306
should the xl file reside in your local machine? or are you open to storing it in the cloud ? Since you mentioned zoho viewer you might want to check out zoho office APIs here using which you can use the API to upload a file and get back a link with the file rendered in a xl viewer which you can paste into an iFrame etc to display it on your page.
Upvotes: 1
Reputation: 543
There's many ways to get around doing what you're referring to. Would you be open to using Google Sheets or do it have to be MS Excel? If so, I'd say use google drive and Google Sync. This way, you can make your excel on your local machine, save it. Create a python script that copies the file from the saved location, to the google drive on your machine. Then google drive will update/sync it. Then it's just a matter of logging into google and copying the file link, then you can use that link so long as you don't change any names of the file. I used this as a solution at one of my previous jobs because google is free and available 24/7. I hoped that helps...
Upvotes: 0