Embed Excel Workbook From SharePoint

%3CLINGO-SUB%20id%3D%22lingo-sub-40887%22%20slang%3D%22en-US%22%3EEmbed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-40887%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20attempting%20to%20embed%20an%20Excel%20workbook%20in%20a%20website%20from%20a%20SharePoint%20Online%20team%20site.%20%26nbsp%3BI'm%20using%20the%20instructions%20posted%20here%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FEmbed-your-Excel-workbook-on-your-web-page-or-blog-from-SharePoint-or-OneDrive-for-Business-7af74ce6-e8a0-48ac-ba3b-a1dd627b7773%3Fui%3Den-US%26amp%3Brs%3Den-CA%26amp%3Bad%3DCA%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FEmbed-your-Excel-workbook-on-your-web-page-or-blog-from-SharePoint-or-OneDrive-for-Business-7af74ce6-e8a0-48ac-ba3b-a1dd627b7773%3Fui%3Den-US%26amp%3Brs%3Den-CA%26amp%3Bad%3DCA%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20able%20to%20successfullly%20embed%20a%20workbook%20using%20a%26nbsp%3Bview%20link%20-%20no%20sign%20in%20required%2C%20however%3B%20it%20seems%20that%20the%20embed%20parameters%20don't%20work%20out%20of%20SharePoint%20or%20OneDrive%20for%20Business.%20%26nbsp%3BI've%20tried%20hiding%20gridlines%2C%20headings%2C%20enabling%20the%20download%20workbook%20option%2C%20etc%2C%20and%20I%20have%20yet%20to%20get%20a%20single%20one%20of%20them%20to%20work.%20%26nbsp%3BThe%20embed%20features%20do%20work%20as%20expected%20if%20I%20put%20the%20files%20in%20OneDrive%20(Consumer).%20%26nbsp%3BI%20can't%20find%20a%20lot%20of%20information%20about%20this%20issue.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anyone%20else%20come%20across%20this%20issue%3F%20%26nbsp%3BPerhaps%20the%20embed%20parameters%20are%20not%20supported%20out%20of%20OneDrive%20for%20Business%20and%20SharePoint%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-40887%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-281843%22%20slang%3D%22en-US%22%3ERe%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-281843%22%20slang%3D%22en-US%22%3E%3CP%3EI%20ran%20into%20this%20issue%20and%20found%20this%20post.%26nbsp%3B%20Not%20sure%20about%20permissions%20as%20I%20tried%20several%20things%20before%20I%26nbsp%3Bfinally%20got%20something%20to%20work.%26nbsp%3B%20No%20idea%20where%20the%20embed%20icon%20is%20on%20the%20business%20side%20of%20sharepoint%2Fonedrive%2C%20but%20when%20I%20opened%20it%20up%20in%20Excel%20Online%2C%20I%20just%20selected%20the%20icon%20at%20the%20end%20of%20the%20ribbon%20called%20%22Tell%20me%20what%20you%20want%20to%20do.%22%26nbsp%3B%20I%20typed%20in%20Embed%20and%20it%20took%20me%20to%20the%20typical%20embed%20prompt%20I%20saw%20on%20the%20consumer%20side.%26nbsp%3B%20I%20got%20it%20embedded%20in%20an%20external%20website%20and%20it%20looks%20to%20be%20working.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-67348%22%20slang%3D%22en-US%22%3ERe%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-67348%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Karan%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20been%20tinkering%20around%20with%20this%20and%20I've%20sort%20of%20found%20a%20way%20to%20make%20it%20work.%20I%20think%20Microsoft%20has%20been%20making%20updates%20and%20changes%20also%2C%20as%20the%20embed%20options%20are%20different%20than%20from%20when%20I%20posted%20in%20this%20forum%20a%20few%20months%20ago.%20This%20makes%20it%20quite%20hard%20to%20keep%20up%20with%20what%20works%2Fdoesn't%20work.%20But%20for%20now%2C%20my%20workaround%20seems%20to%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20you've%20set%20sharing%20to%20%22Everyone%22%2C%20click%20%22Get%20link.%22%20The%20link%20that%20I%20get%20looks%20something%20like%20this%3A%20%22%3CA%20href%3D%22https%3A%2F%2Fhostprovidername-my.sharepoint.com%2Fpersonal%2Fmyname%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fhostprovidername-my.sharepoint.com%2Fpersonal%2Fmyname%2F%3C%2FA%3E....%3CSTRONG%3Eguestaccess%3C%2FSTRONG%3E.aspx%3Fdocid%3D23kj4hkjbs876...%26amp%3Bauthkey%3DSIdslbxxoIL2jd8s%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESwitch%20out%20%22guestaccess%22%20with%20%22%3CSTRONG%3EWopiFrame%3C%2FSTRONG%3E%22%2C%20and%20try%20the%20embed%20again.%20It%20should%20be%20available%20to%20the%20public%20now%20and%20parameters%20will%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere's%20a%20different%20docid%20that%20is%20generated%20if%20you%20get%20the%20pre-generated%20embed%20code.%20It%20defaults%20to%20WopiFrame.aspx%2C%20but%20the%20query%20after%20it%20will%20look%20like%20this%3A%20%22WopiFrame.aspx%3Fsourcedoc%3D%7B3jf890d-0s9d-298d-d9x0-9d9s87c7shdf%7D%22%20This%20will%20not%20allow%20public%20access%20without%20signing%20in.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EP.S.%20a%20neat%20parameter%20I%20discovered%20via%20the%20embed%20code%20options%20box%20is%20that%20you%20can%20set%20the%20default%20active%20cell.%20Param%20is%20ActiveCell%3D'Sheet1'!A1%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-64557%22%20slang%3D%22en-US%22%3ERe%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-64557%22%20slang%3D%22en-US%22%3E%3CP%3EDoes%20any%20one%20have%20a%20work%20around%20for%20this%20yet%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20really%20frustrating%2C%20because%20what%20I%20want%20to%20do%20can%20be%20easily%20done%20on%20onedrive%20for%20consumers%2C%20but%20not%20in%20onedrive%20for%20business.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20onedrive%20for%20business%2C%20I%20can%20embed%20an%20excel%20wb%20in%20my%20website%20but%20viewers%20need%20to%20sign%20in%20to%20view%20the%20document.%20Then%2C%20following%20OPs%20link%2C%20I%20can%20embed%20a%20version%20which%20the%20public%20can%20view%20(without%20an%20account)%20but%20cannot%20interact%20with%2C%20i.e.%20I%20need%20the%20parameter%20wbAllowInteractivity%3DTrue%20to%20work.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlus%2C%20isn't%20it%20soooo%20inconvenient%20that%20the%20embed%20function%20doesn't%20have%20a%20%22don't%20require%20sign%20in%22%20option%2C%20while%20its%20possible%20to%20do%20so%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%2C%20I'd%20be%20more%20than%20happy%20to%20use%20onedrive%20for%20consumers%20and%20call%20it%20a%20day%2C%20but%20unfortunately%20that%20has%20an%20excel%20wb%20limit%20of%205%20mb.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-47619%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-47619%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20it%20is%20a%20Office%20365%20subscription%2C%20then%20there%20is%20Support%20button%20in%20the%20new%20Admin%20center.%20Give%20a%20brief%20three%20to%20two%20keyboards%2C%20to%20look%20for%20solutions%20and%20then%20submit%20the%20request.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20210px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F11082i95ACB406E7539E61%2Fimage-dimensions%2F210x63%3Fv%3D1.0%22%20width%3D%22210%22%20height%3D%2263%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EAsish%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-47488%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-47488%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20believe%20I've%20found%20out%20what%20the%20issue%20is.%20I%20found%20an%20example%20workbook%20on%20%3CA%20href%3D%22http%3A%2F%2Fwww.mybloggertricks.com%2F2014%2F05%2Fembed-spreadsheet-on-webpages.html%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ethis%20website%3C%2FA%3E%20that%20has%20an%20embedded%20Excel%20workbook%20with%20parameters%20working.%20Upon%20inspecting%20the%20code%20I%20realized%20that%20the%20workbook%20URL%20is%20from%20onedrive.live%2C%20%3CSTRONG%3ENOT%3C%2FSTRONG%3E%20Sharepoint.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20then%20tested%20my%20own%20workbook%20by%20logging%20in%20to%20my%20Microsoft%20OneDrive%20account%20(i.e.%20the%20Microsoft%20account%20that%20is%20separate%20from%20O365%20for%20business.%20I%20accessed%20OneDrive%20by%20going%20through%20onedrive.live.com%2C%20and%20not%20office.com).%20When%20I%20uploaded%20my%20Excel%20workbook%20to%20onedrive.live%2C%20selecting%20the%20workbook%20there%20brings%20up%20an%20embed%20code%20icon.%20I%20used%20the%20URL%20in%20that%20code%20and%20modified%20the%20parameters%20to%20generate%20this%20example%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%26lt%3Biframe%20frameborder%3D%220%22%20scrolling%3D%22no%22%20width%3D%221300px%22%20height%3D%22800px%22%20src%3D%22%0Ahttps%3A%2F%2Fonedrive.live.com%2Fembed%3Fcid%3D42E3AD426E37D95C%26amp%3Bresid%3D42E3AD426E37D95C%2521128%26amp%3Bauthkey%3DAHX-n7u6UUOimCw%26amp%3Bem%3D2%26amp%3Baction%3Dembedview%26amp%3BwdDownloadButton%3DTrue%26amp%3Bwdbipreview%3DTrue%26amp%3BwdAllowInteractivity%3DTrue%26amp%3BwdHideHeaders%3DTrue%26amp%3BwdHideSheetTabs%3DTrue%26amp%3BwdHideGridlines%3DTrue%26amp%3BActiveCell%3DB5%22%26gt%3B%26lt%3B%2Fiframe%26gt%3B%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20not%20sure%20if%20Sharepoint%20is%20supposed%20to%20have%20this%20feature%20enabled%2C%20and%20it%20seems%20odd%20that%20it%20doesn't.%20I%20don't%20know%20how%20to%20raise%20this%20as%20a%20ticket%20to%20Microsoft%20without%20having%20to%20pay%20to%20submit%20one%2C%20but%20I%20hope%20posting%20this%20here%20helps%20someone.%20Good%20luck!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-44864%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44864%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Folks%2C%3C%2FP%3E%3CP%3EI%20have%20been%20able%20to%20test%20this%20and%20from%20the%20Fiddler%20analysis%20it%20looks%20like%20the%20request%20is%20redirected%20and%20the%20embedded%20code%20is%20stripped%20off.%20This%20may%20be%20a%20ticket%20to%20Microsoft.%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EPramod%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-44516%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44516%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20experiencing%20the%20same%20problem%20too.%20Here%20is%20my%20iframe%20embed%20code%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%26lt%3Biframe%20frameborder%3D%220%22%20scrolling%3D%22no%22%20width%3D%221300px%22%20height%3D%22800px%22%20src%3D%22%0Ahttps%3A%2F%2Fappriver3651017602-my.sharepoint.com%2Fpersonal%2Fanthea_crowinsight_com%2F_layouts%2F15%2Fguestaccess.aspx%3Fdocid%3D1b17dabec9a1f49b187468da6ff7a95b3%26amp%3Bauthkey%3DAZFtRXQsUx8qGA3lwZ_LvhU%26amp%3Baction%3Dembedview%26amp%3BwdDownloadButton%3DTrue%26amp%3Bwdbipreview%3DTrue%26amp%3BwdAllowInteractivity%3DTrue%26amp%3BwdHideHeaders%3DTrue%26amp%3BwdHideSheetTabs%3DTrue%26amp%3BwdHideGridlines%3DTrue%26amp%3BActiveCell%3DO22%22%26gt%3B%3C%2FPRE%3E%3CP%3EI%20am%20able%20to%20embed%20the%20file%2C%20but%20you%20can%20see%20that%20the%20parameters%20are%20not%20taking%20effect.%20I%20have%20Office%20365%20ProPlus%20and%26nbsp%3BOneDrive%20for%20Business.%20The%20Excel%20workbook%20I'm%20trying%20to%20embed%20in%20the%20code%20above%20is%20stored%20on%20my%20OneDrive%20account%2C%20and%20I'm%20using%20the%20parameters%20detailed%20on%20%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FEmbed-your-Excel-workbook-on-your-web-page-or-blog-from-SharePoint-or-OneDrive-for-Business-7af74ce6-e8a0-48ac-ba3b-a1dd627b7773%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ethis%20Office%20Support%20site%3C%2FA%3E.%20I%20have%20also%20just%20activated%20SharePoint%20Online%20for%20my%20account%20and%20tried%20embedding%20with%20a%20new%20shared%20link%2C%20but%20the%20parameters%20are%20still%20not%20working.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20this%20have%20something%20to%20do%20with%20the%20level%20of%20SharePoint%20access%2Fsupport%20allowed%20in%20my%20subscription%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-42756%22%20slang%3D%22en-US%22%3ERe%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-42756%22%20slang%3D%22en-US%22%3E%3CP%3EAny%20luck%20getting%20the%20embed%20parameters%20to%20work%3F%20%26nbsp%3BI'm%20still%20experiencing%20this%20problem%2C%20and%20I'm%20hoping%20that%20I%20don't%20have%20to%20build%20in%20workarounds%20for%20things%20like%20downloading%20the%20workbook.%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-41504%22%20slang%3D%22en-US%22%3ERe%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-41504%22%20slang%3D%22en-US%22%3EThanks!%20I%20will%20review%20this%20in%20Fiddler%20later%20tonight!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-41198%22%20slang%3D%22en-US%22%3ERe%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-41198%22%20slang%3D%22en-US%22%3E%3CP%3E1.%20%26nbsp%3BI've%20confirmed%20that%20the%20problem%20occurs%20if%20I%20host%20the%20files%20in%20either%20SharePoint%20or%20OneDrive%20for%20Business.%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20%26nbsp%3BI%20can%20access%20the%20file%20in%20a%20browswer%20with%20no%20active%20Office%20365%20sessions%20without%20any%20issue.%20%26nbsp%3BI%20put%20together%20a%20small%20example%20to%20show%20that%20the%20parameters%20do%20not%20work%3A%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww4.uwm.edu%2Fgrad_school%2Ftest_embed%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww4.uwm.edu%2Fgrad_school%2Ftest_embed%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20Excel%20file%20is%20hosted%20in%20SharePoint%20in%20this%20case%2C%20and%20I%20created%20the%20link%20to%20it%20as%20%22View%20Link%20-%20no%20sign%20in%20required.%22%20%26nbsp%3BIf%20you%20check%20the%20html%20source%20you'll%20see%20that%20the%20iframe%20has%20the%20parameter%20%22%26amp%3BwdDownloadButton%3DTrue%22%20but%20the%20download%20button%20simply%20doesn't%20appear%20on%20the%20bottom%20of%20the%20embedded%20iframe.%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-41014%22%20slang%3D%22en-US%22%3ERe%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-41014%22%20slang%3D%22en-US%22%3E%3CP%3EOK.%20Not%20a%20problem.%20Just%20wanted%20to%20clarify%20a%20few%20thing%3C%2FP%3E%3CP%3E1.%20Where%20are%20the%20files%20located%3F%3C%2FP%3E%3CP%3E%26nbsp%3B-%20SharePoint%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B-%20OneDrive%20for%20Business%3C%2FP%3E%3CP%3E2.%20Can%20you%20access%20the%20link%20without%20logging%20on%3F%20(to%20test%20this%20get%20the%20URL%20-%20feel%20free%20to%20share%20it%20with%20me%20in%20an%20email%20if%20you%20are%20not%20comfortable%20with%20sending%20it%20on%20the%20message).%3C%2FP%3E%3CP%3EIf%20it%20can%20be%20accessed%20externally%20then%20I%20can%20look%20at%20the%20parameters%20and%20if%20they%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-40941%22%20slang%3D%22en-US%22%3ERE%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-40941%22%20slang%3D%22en-US%22%3E%3CP%3EThere%20is%20no%20copy%20embed%20link%20on%20the%20pop-up%20menu%20for%20the%20Excel%20file.%20Instructions%20for%20embed%20a%20view%20(%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-US%2Farticle%2Fembed-a-view-of-your-calendar-804e1845-5662-487e-9b38-f96307144081%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-US%2Farticle%2Fembed-a-view-of-your-calendar-804e1845-5662-487e-9b38-f96307144081%3C%2FA%3E)%20say%20%22%3Ain%20OneDrive%2C%20right-click%20the%20workbook%2C%20and%20then%20click%20Embed.%20Embed%20is%20not%20a%20selection%20in%20the%20pop-up%20menu%20when%20u%20sing%20OneDrive%20for%20Business%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-40938%22%20slang%3D%22en-US%22%3ERe%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-40938%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20not.%20%26nbsp%3BI'm%20not%20real%20experienced%20with%20Fiddler%2C%20and%20I'm%20not%20real%20sure%20what%20I%20would%20even%20be%20looking%20for.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-40920%22%20slang%3D%22en-US%22%3ERe%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-40920%22%20slang%3D%22en-US%22%3ECan%20you%20check%20the%20parameters%20are%20being%20sent%20by%20using%20a%20tool%20like%20Fiddler%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-40911%22%20slang%3D%22en-US%22%3ERe%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-40911%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20not%20trying%20to%20add%20a%20web%20part.%20%26nbsp%3BI'm%20attempting%20to%20take%20a%20hosted%20(in%20SharePoint%20document%20library)%20Excel%20workbook%20and%20embed%20it%20in%20an%20external%20website.%20%26nbsp%3BIn%20the%20Consumer%20OneDrive%20service%20there%20is%20actually%20a%20right-click%20context%20button%20that%20can%20generate%20your%20embed%20code%20for%20you%20in%20javascript%20or%20html.%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20question%20had%20to%20do%20with%20the%20supported%20parameters%20when%20embedding%20a%20workbook%20through%20an%20iFrame%20(see%20the%20link%20I%20provided%20in%20my%20original%20post).%20%26nbsp%3BI'm%20finding%20that%20the%20parameters%20don't%20have%20any%20effect%20on%20the%20content%20rendered%20through%20the%20iFrame.%20%26nbsp%3BAs%20I%20mentioned%20earlier%2C%20the%20parameters%20work%20in%20OneDrive%20Consumer%20but%20not%20SharePoint%20Online%20or%20OneDrive%20for%20Business.%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-40894%22%20slang%3D%22en-US%22%3ERe%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-40894%22%20slang%3D%22en-US%22%3E%3CP%3ENot%20really%20clear%20on%20where%20you%20have%20a%20problem.%20You%20have%20to%20upload%20the%20Excel%20file%20to%20a%20document%20library%20on%20your%20site.%26nbsp%3B%20Then%20on%20a%20page%20or%20create%20a%20new%20page%2C%20add%20the%20Excel%20Web%20Access%20web%20part%20and%20configure%20it%20from%20there%20using%20that%20Excel%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20are%202%20tutorials%20which%20might%20help%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fprezi.com%2F3tr-hg0bykzk%2Fsharepoint-lesson-24-how-to-display-content-of-an-excel-file-in-a-webpart%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fprezi.com%2F3tr-hg0bykzk%2Fsharepoint-lesson-24-how-to-display-content-of-an-excel-file-in-a-webpart%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20a%20different%20variation%20from%20Laura%20Rodgers%20which%20might%20be%20of%20use%20to%20you%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwonderlaura.com%2F2015%2F01%2F21%2Fdynamic-excel-web-part%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwonderlaura.com%2F2015%2F01%2F21%2Fdynamic-excel-web-part%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1531849%22%20slang%3D%22en-US%22%3ERe%3A%20Embed%20Excel%20Workbook%20From%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1531849%22%20slang%3D%22en-US%22%3EThanks%20for%20this%20tip!%20Spent%20a%20good%20amount%20of%20time%20looking%20for%20Excel%20embed%20options%20for%20use%20on%20a%20SharePoint%20site%20and%20this%20provided%20the%20best%20solution.%20Used%20the%20Embed%20web%20part%20to%20display%20the%20selected%20range.%3C%2FLINGO-BODY%3E
Contributor

I'm attempting to embed an Excel workbook in a website from a SharePoint Online team site.  I'm using the instructions posted here:

 

https://support.office.com/en-us/article/Embed-your-Excel-workbook-on-your-web-page-or-blog-from-Sha...

 

I am able to successfullly embed a workbook using a view link - no sign in required, however; it seems that the embed parameters don't work out of SharePoint or OneDrive for Business.  I've tried hiding gridlines, headings, enabling the download workbook option, etc, and I have yet to get a single one of them to work.  The embed features do work as expected if I put the files in OneDrive (Consumer).  I can't find a lot of information about this issue. 

 

Has anyone else come across this issue?  Perhaps the embed parameters are not supported out of OneDrive for Business and SharePoint? 

17 Replies

Not really clear on where you have a problem. You have to upload the Excel file to a document library on your site.  Then on a page or create a new page, add the Excel Web Access web part and configure it from there using that Excel file.

 

Here are 2 tutorials which might help:

https://prezi.com/3tr-hg0bykzk/sharepoint-lesson-24-how-to-display-content-of-an-excel-file-in-a-web...

 

And a different variation from Laura Rodgers which might be of use to you:

https://wonderlaura.com/2015/01/21/dynamic-excel-web-part/

I'm not trying to add a web part.  I'm attempting to take a hosted (in SharePoint document library) Excel workbook and embed it in an external website.  In the Consumer OneDrive service there is actually a right-click context button that can generate your embed code for you in javascript or html.  

 

My question had to do with the supported parameters when embedding a workbook through an iFrame (see the link I provided in my original post).  I'm finding that the parameters don't have any effect on the content rendered through the iFrame.  As I mentioned earlier, the parameters work in OneDrive Consumer but not SharePoint Online or OneDrive for Business.  

Can you check the parameters are being sent by using a tool like Fiddler?

I have not.  I'm not real experienced with Fiddler, and I'm not real sure what I would even be looking for. 

There is no copy embed link on the pop-up menu for the Excel file. Instructions for embed a view (https://support.office.com/en-US/article/embed-a-view-of-your-calendar-804e1845-5662-487e-9b38-f9630...) say ":in OneDrive, right-click the workbook, and then click Embed. Embed is not a selection in the pop-up menu when u sing OneDrive for Business

 

OK. Not a problem. Just wanted to clarify a few thing

1. Where are the files located?

 - SharePoint 

 - OneDrive for Business

2. Can you access the link without logging on? (to test this get the URL - feel free to share it with me in an email if you are not comfortable with sending it on the message).

If it can be accessed externally then I can look at the parameters and if they work.

1.  I've confirmed that the problem occurs if I host the files in either SharePoint or OneDrive for Business.  

 

2.  I can access the file in a browswer with no active Office 365 sessions without any issue.  I put together a small example to show that the parameters do not work:  

 

https://www4.uwm.edu/grad_school/test_embed/

 

The Excel file is hosted in SharePoint in this case, and I created the link to it as "View Link - no sign in required."  If you check the html source you'll see that the iframe has the parameter "&wdDownloadButton=True" but the download button simply doesn't appear on the bottom of the embedded iframe.  

Thanks! I will review this in Fiddler later tonight!

Any luck getting the embed parameters to work?  I'm still experiencing this problem, and I'm hoping that I don't have to build in workarounds for things like downloading the workbook.  

I'm experiencing the same problem too. Here is my iframe embed code:

 

<iframe frameborder="0" scrolling="no" width="1300px" height="800px" src="
https://appriver3651017602-my.sharepoint.com/personal/anthea_crowinsight_com/_layouts/15/guestaccess.aspx?docid=1b17dabec9a1f49b187468da6ff7a95b3&authkey=AZFtRXQsUx8qGA3lwZ_LvhU&action=embedview&wdDownloadButton=True&wdbipreview=True&wdAllowInteractivity=True&wdHideHeaders=True&wdHideSheetTabs=True&wdHideGridlines=True&ActiveCell=O22">

I am able to embed the file, but you can see that the parameters are not taking effect. I have Office 365 ProPlus and OneDrive for Business. The Excel workbook I'm trying to embed in the code above is stored on my OneDrive account, and I'm using the parameters detailed on this Office Support site. I have also just activated SharePoint Online for my account and tried embedding with a new shared link, but the parameters are still not working. 

 

Does this have something to do with the level of SharePoint access/support allowed in my subscription?

Hi Folks,

I have been able to test this and from the Fiddler analysis it looks like the request is redirected and the embedded code is stripped off. This may be a ticket to Microsoft. 

Regards,

Pramod

 

Hi everyone,

 

I believe I've found out what the issue is. I found an example workbook on this website that has an embedded Excel workbook with parameters working. Upon inspecting the code I realized that the workbook URL is from onedrive.live, NOT Sharepoint.

 

I then tested my own workbook by logging in to my Microsoft OneDrive account (i.e. the Microsoft account that is separate from O365 for business. I accessed OneDrive by going through onedrive.live.com, and not office.com). When I uploaded my Excel workbook to onedrive.live, selecting the workbook there brings up an embed code icon. I used the URL in that code and modified the parameters to generate this example:

 

<iframe frameborder="0" scrolling="no" width="1300px" height="800px" src="
https://onedrive.live.com/embed?cid=42E3AD426E37D95C&resid=42E3AD426E37D95C%21128&authkey=AHX-n7u6UUOimCw&em=2&action=embedview&wdDownloadButton=True&wdbipreview=True&wdAllowInteractivity=True&wdHideHeaders=True&wdHideSheetTabs=True&wdHideGridlines=True&ActiveCell=B5"></iframe>

 

I'm not sure if Sharepoint is supposed to have this feature enabled, and it seems odd that it doesn't. I don't know how to raise this as a ticket to Microsoft without having to pay to submit one, but I hope posting this here helps someone. Good luck!

 

 

Hi,

 

If it is a Office 365 subscription, then there is Support button in the new Admin center. Give a brief three to two keyboards, to look for solutions and then submit the request.

 

image.png

 

 

 

 

 

Thanks,

Asish

Does any one have a work around for this yet? 

 

This is really frustrating, because what I want to do can be easily done on onedrive for consumers, but not in onedrive for business. 

 

In onedrive for business, I can embed an excel wb in my website but viewers need to sign in to view the document. Then, following OPs link, I can embed a version which the public can view (without an account) but cannot interact with, i.e. I need the parameter wbAllowInteractivity=True to work. 

 

Plus, isn't it soooo inconvenient that the embed function doesn't have a "don't require sign in" option, while its possible to do so?

 

Now, I'd be more than happy to use onedrive for consumers and call it a day, but unfortunately that has an excel wb limit of 5 mb.

Hi Karan,

 

I've been tinkering around with this and I've sort of found a way to make it work. I think Microsoft has been making updates and changes also, as the embed options are different than from when I posted in this forum a few months ago. This makes it quite hard to keep up with what works/doesn't work. But for now, my workaround seems to work.

 

 

After you've set sharing to "Everyone", click "Get link." The link that I get looks something like this: "https://hostprovidername-my.sharepoint.com/personal/myname/....guestaccess.aspx?docid=23kj4hkjbs876...&authkey=SIdslbxxoIL2jd8s"

 

Switch out "guestaccess" with "WopiFrame", and try the embed again. It should be available to the public now and parameters will work.

 

There's a different docid that is generated if you get the pre-generated embed code. It defaults to WopiFrame.aspx, but the query after it will look like this: "WopiFrame.aspx?sourcedoc={3jf890d-0s9d-298d-d9x0-9d9s87c7shdf}" This will not allow public access without signing in.

 

Hope this helps!

 

P.S. a neat parameter I discovered via the embed code options box is that you can set the default active cell. Param is ActiveCell='Sheet1'!A1

I ran into this issue and found this post.  Not sure about permissions as I tried several things before I finally got something to work.  No idea where the embed icon is on the business side of sharepoint/onedrive, but when I opened it up in Excel Online, I just selected the icon at the end of the ribbon called "Tell me what you want to do."  I typed in Embed and it took me to the typical embed prompt I saw on the consumer side.  I got it embedded in an external website and it looks to be working.

Thanks for this tip! Spent a good amount of time looking for Excel embed options for use on a SharePoint site and this provided the best solution. Used the Embed web part to display the selected range.