Quantcast
Channel: Microsoft Community - Super Fresh
Viewing all articles
Browse latest Browse all 1237235

Embedded Excel Not Retaining Protections

$
0
0

This question has be out there since 2014 and never answered. After 4 years there must be a solution or work around that somebody can offer.

To date the only solution I have found is adding an addon to excel called SpreadsheetConverter, with restricts cells displayed and locks cells correctly. This addon creates a HTML page and has other benefits like adding controls and image swapping by formula. The down side is the cost.

This was the original post that microsoft should have answered long ago.

I've created an excel spreadsheet in office 365. I have protected and locked the spreadsheet so that only a few specific cells can even be selected. I saved the spreadsheet on my skydrive account, and got the embed code (tried both html and java). When I embed the spreadsheet in my web page, everything works perfectly fine EXCEPT the protected fields are no longer protected. Users can click on/select fields that have been locked. If they try to edit the fields they get the error that I put in place, which is good, but they should not even be able to select those fields.

I have verified that the protections work correctly on my desktop version, and have verified that the version saved to skydrive is the correct version. But when I embed with web apps, the fields are not locked.

Am I missing something? Is there a like of code I need to include, or an additional step I need to include that I am not aware of?

and further

Since I'm not getting much help, here's the investigation I found.  Maybe this will get someone moving on an answer...

Here's the code I'm working with:

<iframe width="414" height="444" frameborder="0" scrolling="no"
src="https://onedrive.live.com/embed?cid=A433377F71B78523&resid=A433377F71B78523%21137&authkey=ALyjz9c43uuJSm4&em=2&AllowInteractivity=True&AllowTyping=True&wdHideGridlines=True&wdHideHeaders=True&wdDownloadButton=False&ActiveCell='Sheet1'!D4&Item='Sheet1'!A1%3AF24"></iframe>

The bold code is what is causing the issue.

Without that piece of code, locked cells remain locked.  However, all sheets are accessible (including additional sheet that contain backend tables).  This is not acceptable.

With that piece of code, users can only see and access the intended sheet.  However, the cells of that sheet can now be selected and edited.  This is not acceptable.

What code can I substitute that will allow me to keep the cells locked and non-selectable while only showing the intended sheet?


Viewing all articles
Browse latest Browse all 1237235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>