Put an Excel document online

%3CLINGO-SUB%20id%3D%22lingo-sub-1601476%22%20slang%3D%22fr-FR%22%3EPut%20an%20Excel%20document%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1601476%22%20slang%3D%22fr-FR%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EI%20made%20in%20Excel%20(office%20365%2C%20latest%20version%20-%20xlsx%20format)%20a%20predictive%20model%20dedicated%20to%20the%20Collatz%20conjecture%20(aka%203x-1%20problem).%3C%2FP%3E%3CP%3EI%20would%20like%20to%20put%20it%20online%20so%20that%20users%20can%20enter%20parameters%20and%20see%20the%20results.%3C%2FP%3E%3CP%3EI%20want%20users%20to%20only%20have%20access%20to%20settings%20and%20not%20be%20able%20to%20change%20the%20structure%20of%20the%20document%20in%20any%20way.%20I%20can%20group%20parameters%20and%20results%20in%20the%20same%20tab.%20Ideally%2C%20the%20other%20tabs%20wouldn't%20be%20accessible%20or%20even%20visible.%3C%2FP%3E%3CP%3EIs%20it%20possible%20and%20how%3F%3C%2FP%3E%3CP%3EBest%3C%2FP%3E%3CP%3EPmf%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1601476%22%20slang%3D%22fr-FR%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%20for%20web%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1601723%22%20slang%3D%22en-US%22%3ERe%3A%20Put%20an%20Excel%20document%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1601723%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F765798%22%20target%3D%22_blank%22%3E%40PMF_EXCEL%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYour%20best%20option%20would%20be%20to%20use%20either%20Excel%20Online%20or%20Google%20Sheets.%20I%20am%20not%20as%20familiar%20with%20Google%20Sheets%20but%20I%20assume%20that%20you%20are%20able%20to%20protect%20or%20hide%20your%20worksheets%20just%20as%20in%20Excel.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1601732%22%20slang%3D%22en-US%22%3ERe%3A%20Put%20an%20Excel%20document%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1601732%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F765798%22%20target%3D%22_blank%22%3E%40PMF_EXCEL%3C%2FA%3E%26nbsp%3BOneDrive%20offers%20an%20Embed%20feature%20which%20generates%20code%20to%20embed%20your%20file%20in%20any%20web%20page.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1601741%22%20slang%3D%22en-US%22%3ERe%3A%20Put%20an%20Excel%20document%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1601741%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22322%22%20target%3D%22_blank%22%3E%40Jan%20Karel%20Pieterse%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Jan.%20Good%20news.%20Where%20can%20I%20get%20a%20tutorial%20about%20this%20feature%20%3F%3C%2FP%3E%3CP%3EBest%3CBR%20%2F%3EPMF_EXCEL%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1601744%22%20slang%3D%22en-US%22%3ERe%3A%20Put%20an%20Excel%20document%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1601744%22%20slang%3D%22en-US%22%3EWith%20the%20workbook%20open%20in%20Excel%20Online%2C%20click%20Share%20%26gt%3B%20Embed%2C%20and%20then%20click%20the%20Generate%20button.%3CBR%20%2F%3EIn%20the%20next%20step%2C%20you%20decide%20how%20exactly%20you%20want%20your%20spreadsheet%20to%20appear%20on%20the%20web.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1601767%22%20slang%3D%22en-US%22%3ERe%3A%20Put%20an%20Excel%20document%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1601767%22%20slang%3D%22en-US%22%3Ethanks.%20I'm%20going%20to%20try%20it.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1602005%22%20slang%3D%22en-US%22%3ERe%3A%20Put%20an%20Excel%20document%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1602005%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F765798%22%20target%3D%22_blank%22%3E%40PMF_EXCEL%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20made%20my%20Excel%20sheet%20with%20protected%20cells%20then%20saved%20it%20on%20Onedrive.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20follow%20the%20procedure%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIn%20OneDrive%2C%20right-click%20the%20workbook%2C%20and%20then%20click%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EEmbed%3C%2FSTRONG%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EClick%26nbsp%3B%3CSTRONG%3EGenerate%3C%2FSTRONG%3E%2C%20and%20then%20click%26nbsp%3B%3CSTRONG%3ECustomize%20how%20this%20embedded%20workbook%20will%20appear%20to%20others%3C%2FSTRONG%3E.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20i'm%20completely%20lost%20to%20control%20what%20happens%20next%3C%2FP%3E%3CP%3EI've%20protected%20all%20the%20worksheet%20in%20exception%20oof%20those%20two%20cells.%20Then%20I%20want%20to%20publish%20a%20link%20on%20a%20forum%20in%20order%20any%20people%20may%20connect%20anonymously%20on%20a%20web%20page%20to%20acccess%26nbsp%3Bto%20this%20sheet.%20I%20want%20them%20to%20modify%20only%20two%20cells%20(not%20protected)%20and%20see%20the%20results.%20But%20I%20don't%20want%20they%20can%20acess%20to%20my%20ondrive%20or%20any%20of%20my%20files.%3CBR%20%2F%3EHow%20to%20do%20that%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20PMF_EXCEL%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1603768%22%20slang%3D%22en-US%22%3ERe%3A%20Put%20an%20Excel%20document%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1603768%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F765798%22%20target%3D%22_blank%22%3E%40PMF_EXCEL%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20protect%20the%20worksheet%20and%20make%20sure%20only%20input%20cells%20are%20unlocked%2C%20the%20user%20can%20only%20edit%20those%20cells.%20This%20is%20done%20easiest%20using%20desktop%20Excel.%3C%2FP%3E%0A%3CP%3EWhen%20setting%20the%20advanced%20embed%20options%2C%20you%20can%20select%20a%20dedicated%20area%20to%20display%20rather%20than%20the%20entire%20workbook.%20Also%2C%20you%20can%20edit%20the%20iframe%20code%20that%20OneDrive%20gives%20you%20and%20remove%20the%20download%20button%20by%20changing%20%22wdDownloadButton%3DTrue%22%20to%20%22wdDownloadButton%3DFalse%22.%3C%2FP%3E%0A%3CP%3EOf%20course%20the%20user%20can%20still%20look%20at%20the%20html%20code%20of%20your%20page%20using%20the%20developer%20options%20most%20modern%20browsers%20have%20and%20copy%20the%20iFrame%20code%20and%20modify%20it%20so%20that%20they%20can%20download%20your%20file.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1603820%22%20slang%3D%22en-US%22%3ERe%3A%20Put%20an%20Excel%20document%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1603820%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22322%22%20target%3D%22_blank%22%3E%40Jan%20Karel%20Pieterse%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%3C%2FP%3E%3CP%3ENo%20easy%20to%20spot%20this%20code%20line%20you've%20mentionned%3C%2FP%3E%3CP%3EI've%20got%20this%20as%20%22embedded%20code%22%3C%2FP%3E%3CP%3E%3CIFRAME%20width%3D%22%26quot%3B700%26quot%3B%22%20height%3D%22%26quot%3B600%26quot%3B%22%20frameborder%3D%22%26quot%3B0%26quot%3B%22%20scrolling%3D%22%26quot%3Bno%26quot%3B%22%20src%3D%22%26quot%3B%26lt%3BA%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%26amp%3Bamp%3Bamp%3Blt%3Ba%20href%3D%22https%3A%2F%2Fonedrive.live.com%2Fembed%3Fresid%3D743E02E4A2D8A0FA%252157598%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bauthkey%3D%2521AIdyMOTboM-kz64%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bem%3D2%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3BwdAllowInteractivity%3DFalse%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3BAllowTyping%3DTrue%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3BwdHideGridlines%3DTrue%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3BwdHideHeaders%3DTrue%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3BwdInConfigurator%3DTrue%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bwaccluster%3DNL3%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bquot%3B%26amp%3Bamp%3Bamp%3Bamp%3Bgt%3B%26amp%3Bamp%3Bamp%3Bamp%3Blt%3B%2Fiframe%26amp%3Bamp%3Bamp%3Bamp%3Blt%3B%2FA%26amp%3Bamp%3Bamp%3Bamp%3Bgt%3B%26amp%3Bamp%3Bamp%3Bamp%3Bgt%3B%26amp%3Bamp%3Bamp%3Bamp%3Blt%3B%2FP%26amp%3Bamp%3Bamp%3Bamp%3Bgt%3B%26amp%3Bamp%3Bamp%3Bamp%3Blt%3B%2Flingo-body%22%20target%3D%22_blank%22%26amp%3Bamp%3Bamp%3Bgt%3Bhttps%3A%2F%2Fonedrive.live.com%2Fembed%3Fresid%3D743E02E4A2D8A0FA%252157598%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bauthkey%3D%2521AIdyMOTboM-kz64%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bem%3D2%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3BwdAllowInteractivity%3DFalse%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3BAllowTyping%3DTrue%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3BwdHideGridlines%3DTrue%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3BwdHideHeaders%3DTrue%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3BwdInConfigurator%3DTrue%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bamp%3Bwaccluster%3DNL3%26amp%3Bamp%3Bamp%3Bamp%3Bamp%3Bquot%3B%26amp%3Bamp%3Bamp%3Bamp%3Bgt%3B%26amp%3Bamp%3Bamp%3Bamp%3Blt%3B%2Fiframe%26amp%3Bamp%3Bamp%3Bamp%3Blt%3B%2FA%26amp%3Bamp%3Bamp%3Bamp%3Bgt%3B%26amp%3Bamp%3Bamp%3Bamp%3Bgt%3B%26amp%3Bamp%3Bamp%3Bamp%3Blt%3B%2FP%26amp%3Bamp%3Bamp%3Bamp%3Bgt%3B%26amp%3Bamp%3Bamp%3Bamp%3Blt%3B%2Flingo-body%26amp%3Bamp%3Bamp%3Blt%3B%2Fa%26amp%3Bamp%3Bamp%3Bgt%3B%26amp%3Bamp%3Bamp%3Bamp%3Bgt%3B%3C%2FIFRAME%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi

I made in Excel (office 365, latest version - xlsx format) a predictive model dedicated to the Collatz conjecture (aka 3x+1 problem).

I would like to put it online so that users can enter parameters and see the results.

I want users to only have access to settings and not be able to change the structure of the document in any way. I can group parameters and results in the same tab. Ideally, the other tabs wouldn't be accessible or even visible.

Is it possible and how?

best

PMF

8 Replies

Hello @PMF_EXCEL,

 

Your best option would be to use either Excel Online or Google Sheets. I am not as familiar with Google Sheets but I assume that you are able to protect or hide your worksheets just as in Excel.

 

 

@PMF_EXCEL OneDrive offers an Embed feature which generates code to embed your file in any web page.

@Jan Karel Pieterse 

 

Hi Jan. Good news. Where can I get a tutorial about this feature ?

Best
PMF_EXCEL

With the workbook open in Excel Online, click Share > Embed, and then click the Generate button.
In the next step, you decide how exactly you want your spreadsheet to appear on the web.
thanks. I'm going to try it.

@PMF_EXCEL 

 

I've made my Excel sheet with protected cells then saved it on Onedrive.

 

I follow the procedure 

In OneDrive, right-click the workbook, and then click Embed.

Click Generate, and then click Customize how this embedded workbook will appear to others.

 

But i'm completely lost to control what happens next

I've protected all the worksheet in exception oof those two cells. Then I want to publish a link on a forum in order any people may connect anonymously on a web page to acccess to this sheet. I want them to modify only two cells (not protected) and see the results. But I don't want they can acess to my ondrive or any of my files.
How to do that ?

 

Thanks PMF_EXCEL

@PMF_EXCEL 

If you protect the worksheet and make sure only input cells are unlocked, the user can only edit those cells. This is done easiest using desktop Excel.

When setting the advanced embed options, you can select a dedicated area to display rather than the entire workbook. Also, you can edit the iframe code that OneDrive gives you and remove the download button by changing "wdDownloadButton=True" to "wdDownloadButton=False".

Of course the user can still look at the html code of your page using the developer options most modern browsers have and copy the iFrame code and modify it so that they can download your file.

@Jan Karel Pieterse 

Hi

No easy to spot this code line you've mentionned

I've got this as "embedded code"

<iframe width="700" height="600" frameborder="0" scrolling="no" src="https://onedrive.live.com/embed?resid=743E02E4A2D8A0FA%2157598&authkey=%21AIdyMOTboM-kz64&em=2&wdAll...>