How to Embed an Excel File in Hudu

Embedding an Excel file directly into Hudu allows you to display spreadsheets, reports, pricing sheets, asset lists, and other structured data inside your documentation. This keeps critical information centralized and accessible without requiring users to download external files.

Because Hudu supports HTML embeds, you can insert an Excel file using an iframe generated from Excel for the web.

What You’ll Need

Before embedding your Excel file into Hudu, ensure:

  • The spreadsheet is uploaded to OneDrive or SharePoint

  • You can open it in Excel for the web

  • The file permissions allow viewing access for intended users

   Note: The desktop version of Excel does not provide embed code. You must use Excel in a web browser.

 

Step 1: Generate the Excel Embed Code

  • Open your spreadsheet in Excel for the web.

  • Click File in the top-left corner.

  • Select Share.

  • Click Embed this Workbook.

  • Configure display settings if needed (gridlines, headers, download button, etc.).

  • Copy the generated iframe embed code.

The code will look similar to this:

<iframe width="600" height="400" frameborder="0" scrolling="no"
src="https://yourcompany.sharepoint.com/...&action=embedview">
</iframe>

Step 2: Embed the Excel File in Hudu

  • Log in to your Hudu account.

  • Navigate to the KB or Asset where you want the spreadsheet displayed.

  • Open an existing article/asset, or create a new one.

  • Switch to the HTML / Code view in the editor.

  • Paste the iframe embed code where you want the spreadsheet to appear.

  • Save the article.

Once saved, the Excel spreadsheet will render directly inside the Hudu article

Optional: Adjusting Display Size

If the spreadsheet appears too small or too large, modify the width and height values in the iframe:

width="800"
height="600"

Adjust these values until the spreadsheet displays comfortably within your documentation layout.

Best Practices

  • Use view-only permissions to prevent unintended edits.

  • Disable gridlines or headers for cleaner presentation if appropriate.

  • Keep spreadsheets optimized for readability (avoid excessive tabs or overly wide sheets).

  • Test on both desktop and mobile views to ensure proper scaling.

Was this article helpful?
0 out of 0 found this helpful