Suddenly my website stopped working with excel

rich letourneau 10 Reputation points
2026-08-21T16:29:21.03+00:00

I use URLs to update my website using Excel. Everything was functioning smoothly until today. The embedded URL I use on several pages, depending on the subject, has stopped working. Now, I only see blank pages with text. I attempted to update the website using a new embedded URL, but the issue persists. Will this be resolved soon, or is there a bug in the embedded code?

Thanks,

Rich

Microsoft 365 and Office | OneDrive | For home | Windows

3 answers

Sort by: Oldest
  1. AI answer

    2026-08-21T16:29:34.93+00:00

    If the embedded Excel content suddenly stopped working, the supported fixes are:

    1. Regenerate the embed code from the source file.
      • Open the file in OneDrive.
      • Go to Files view, select the file, choose </> Embed, and select Generate.
      • Replace the old HTML on the website with the newly generated embed HTML.
    2. Verify the file is still available and still shared.
      • If the file is no longer available, or the link changed, the embedded item can stop loading.
      • If the file is no longer shared, it cannot be embedded.
    3. Check browser cookies.
      • A reported case with OneDrive embed URLs that suddenly stopped working was resolved by deleting browser cookies.
    4. If embedding into SharePoint, confirm the embed format is supported.
      • The embed code must be iframe-based.
      • script-based embed code is not supported.
      • The site must use HTTPS.
      • Some websites block embedding.
      • A SharePoint administrator can also block embedding from external websites.
    5. If this is an Excel workbook hosted in SharePoint or OneDrive for Business, generate the embed code from Excel for the workbook itself.
      • Open the workbook in the browser.
      • Use File > Share > Embed.
      • Then copy the generated iframe code.

    A key limitation is that anyone visiting a webpage with an embedded OneDrive file can view it without signing in.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. Hendrix-V 19,020 Reputation points Microsoft External Staff Moderator
    2026-08-22T06:21:55.67+00:00

    Hi rich letourneau,

    Since regenerating the embedded URL produced the same result across multiple pages, it may be helpful to check whether the issue is specific to the website or to the embedded workbook itself.

    As a quick test, please try these steps:

    1. Open the Excel file directly in a browser from OneDrive/SharePoint.
    2. Copy the generated embed URL and paste it into a new private/incognito browser window.
    3. If the workbook displays correctly there, review any recent changes to your website that may affect iframe content, such as content security policies, script changes, or plugin updates.
    4. If possible, test the same embed code on a simple test page to determine whether the behavior is website-specific.

    Because the issue started suddenly and affects multiple embedded pages, comparing the embed URL behavior outside of the website can help narrow down whether the problem originates from the webpage configuration or the embedded content itself.

    If the embed URL also fails when opened independently, consider testing again from a different network and browser to rule out environmental factors.

    I hope this helps point you in the right direction. Let me know if you need further assistance, feel free to ask me by clicking "Add Comment" or "Add Answer" if you cannot add comment so your response will be visible. Thanks for your effort.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


  3. EmilyS_726 28,995 Reputation points Volunteer Moderator
    2026-09-13T15:35:08.01+00:00

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.