Embed word and excel files to html-page




    This code creates an iframe that will load the url https://view.officeapps.live.com/op/embed.aspx?src={PATH TO YOUR FILE} into the frame. The iframe will have a width of 100% and a height of 650px.

    <iframe src='https://view.officeapps.live.com/op/embed.aspx?src={PATH TO YOUR FILE}' width='100%' height='650px' frameborder='0'></iframe>
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.