Embed Excel Sheets on your website Using OneDrive

To embed a spreadsheet, need an active account on OneDrive and the document you need to embed. When you open any document that is present on OneDrive, it uses the Web versions of the application you use on the system to open it.

Display live data from Excel on your website!

Before you begin, just make sure that you haven’t added any important and private information to the file before embedding it. Log in to your OneDrive account and upload the sheet on it. It is preferable that you keep the file in .xlsx format.

Once uploaded, right-click on the file and select the Embed option. A new panel will open up on the right side of the window. In the panel, click on Generate. It will generate the code to embed the file. Now paste the code wherever you want in your blog or website. When you copy the embedding code, below it you will also find an option as “Customize how this embedded workbook will appear“. Click on it and you will discover some new settings on how the widget of your sheet should appear. The options will include:

1] What to show

In this option, you can either select the entire workbook to be shown or select the range of rows and columns in the widget.

2] Appearance

You can change the appearance of the embedded sheet by the options as “Hide grid lines“, “Hide row and column headers” and “Include a download link“.

3] Interaction

Here you can select whether you want to let people dort and filter the data. Let people type into cells, but the data won’t get saved. Always start with this cell selected.

4] Dimensions

You can select what should be the width and height of the widget window in pixels.

5] Embed Code | JavaScript

You will get two types of codes here, you can select either from embedding code or JavaScript. If you are running the website on your own and know how the JavaScript works then you can select either of them. The embedded file will appear as a small widget on the webpage. A viewer can download it, edit it and tweak as per his/her choice. The changes made by any viewer will be temporary and won’t get saved. After the spreadsheet is embedded and the website is live, the document will appear as a widget on the webpage.

Display Excel sheet into your blog using Excel Online

To copy the embed code from Excel Online do the following:

1] Visit Excel Online

From your web browser, you will want to visit Excel on the web.From there, sign in with your Microsoft account if you haven’t already.

2] Go to the Embed section

Open the relevant Excel spreadsheet, and then click on File > Share > Embed.

How to customize the embedded code in Excel Online

Now, once you’ve come across the code, you can copy it and paste it into the website for all to see. However, the option is there to customize the code to make showcase the Excel spreadsheet in a way that is more pleasing to your needs. The customization options are not vast, but they are enough to make a few sensible changes to improve the look of output.

Navigate to the customization optionMake changes to the code

1] Navigate to the customization option

If you are on the embed section via OneDrive, you must look below the code box and you’ll see Customize How This Embedded Workbook Will Appear to Others.Click on it to reveal the customization area.For those using Excel on the Web, this area will come up the moment Embed is selected.

2] Make changes to the code

  The options available to you here are not significant, but good enough in their own right. From this area, the user can choose what to show, the appearance, the interaction levels, and the dimensions. As you make changes, you can take a look at the preview section at the right of the page to see if things are going in the right direction. After completing the edits, copy the JavaScript code, and that’s it, you can now paste it into your blog or website. Read: Top 15 Financial functions in Microsoft Excel

Can I teach myself Excel?

Yes, you can. The internet is filled with educational data that can help with what you want to learn. You can find information from basic to advanced, and as long as you have the patience, will, and time, you should have no problem getting your head around it all. Not to mention, if you search The Windows Club, you’ll come across several educational Microsoft Excel articles as well.

How to Publish an Excel Spreadsheet on the Web

Open the File then click Save As. At the bottom of the window, click on the down arrow of the drop-down menu. The next step here is to select Web Page from the list. From the File Name box that appears, type a good name for the file. Complete the task by clicking the Publish button. Read next: How to embed a PowerPoint presentation on a Website.