Embed Excel Online IFrame into a web page. No coding required.
There are a number of reasons you may want to embed a Excel Online spreadsheet onto a webpage. For example, if you wish to share some statistics on your personal or company blog so that people outside your organisation can view your data without directly going to the Excel Online spreadsheet.
In this short tutorial we'll cover how to embed a Excel Online spreadsheet in any web page using sheet2api, no coding required.
The first row of each worksheet contains column names. Put data rows underneath it, and use a different worksheet for each category of data. Avoid duplicate column names. The first row becomes the field names in your API response and request bodies.
For example:
| A | B | C | D | E | |
| 1 | Name | Favourite Thing | Image | ||
| 2 | Bugs Bunny | Carrots | Bugs.png | ||
| 3 | Elmer Fudd | Chasing Rabbits | Elmer.png | ||
| 4 |
Each worksheet gets its own endpoint under the same Spreadsheet API. The default endpoint uses the first worksheet. Worksheet names are part of the URL, so use the generated API documentation to copy the right endpoint.
If a value must remain text, such as an ID with leading zeroes, format that cell as text in the spreadsheet and check the API response.
Create your Spreadsheet API using the link to your spreadsheet.
After clicking "Create", your new Spreadsheet API will be listed on the next page.
Great, that's the hard work done, on to the final step.
Click the "Embeddable Table" button on your Spreadsheet API. This will display a HTML snippet for embedding your spreadsheet.
Simply copy that HTML into your web page and you will see the live spreadsheet displayed. When your spreadsheet is updated, so will the spreadsheet embedded on your web page!
check_circle It's as easy as that! 🎉
Need help? Feel free to reach out via our contact page.
Be up & running in seconds.
Start your 7-day free trial