Embedded Excel Not Retaining Protections

Not sure if this is the right place for this, but I've been searching for an answer for a week...
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?

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?

Similar Messages

  • Create PDF Acrobat X Pro - does not display embedded excel 2010 tables in word 2010 properly

    Hello,
    I bought Acrobat X Pro and the first document I used 'Create PDF' on was a Word 2010 document with embedded (read linked) Excel 2010 tables.
    When I opened the document after creating it the linked tables had a little arrow in the corner of a white box with a help text message of "click here to activate". The pdf is basically unusable.
    Is there a setting to ensure that these embedded excel tables are created as normal tables - I do not want to have to keep pasting in tables/images into my Word documents when they are all updating automatically.
    Thanks in advance for any help you can give me.
    Regards,
    Craig

    Hello,
    i am having exactly the same issue with Acrobat X Pro - with linked Excel 2010 tables in Word 2010.
    Has there been a resolution to this eissue - it is potentially very time consuming to work around this issue for me.
    I would post my files but I don't know how to attach them to the thread - only my second post .
    Cheers,
    slobbering_dog
    This is the Word File - the table is an Excel 2010 spreadsheet linked (via Paste Special >Link) .
    This is the resultant PDF file:
    Thanks in advance - again !!
    Message was edited by: slobbering_dog_72

  • In Adobe Pro XI when converting an excel file to a pdf, the pdf is not retaining the page size settings.  Has anyone found a fix for this?

    In Adobe Pro XI when converting an excel file to a pdf, the pdf is not retaining the page size settings.  Has anyone found a fix for this?

    It shouldn't print each page as a separate job and
    each tab has a different name, so, even if it did, it
    ought to give the printouts the name of the tabs.
    It doesn't print each page as a separate job unless the orientation is different - that's the bug. And the name of the job is taken from the name of the window, not the name of the tabs. That's how every application works, which, I think, is why Excel allows the specific selection or the active sheets to be printed.
    Still, that does sound like a plausible explanation.
    However, even if presented with multiple prints with
    the same name, the spooler should print each one!
    The spooler does print each one - you can watch the spooler process the multiple jobs. I think, though, that they are being overwritten since all the jobs have the name of the window as the job title. And since this happens after the Save Dialog is presented, there's really nothing the application can do. To Excel, it's one job, the multiple orientations don't matter; it's just that Apple doesn't handle it correctly.
    As a workaround, you can print the selections one at a time and give them unique names and then rejoin them in one PDF file.

  • Word 2010 - embedded Excel-Object not opening

    Hi!
    All of a sudden, embedded excel-objects (insert -> table -> excel spreadsheat) in word-documents won't open when doubleclicking. Instead, I can see, that Word tries to open it for a second but then the table seems to disappear (blank document).
    When altering the view with alt-F9, I can still see the field-code though.
    {EMBED Excel.Sheet.8 \* MERGEFORMAT \s}
    When I remove the
    \* MERGEFORMAT \s
    the object opens within Word just fine and can be edited. Also, when I rightclick the object and do a "convert to excel worksheet", it opens within word - the field code changes to {EMBED Excel.Sheet.12} when doing the conversion.
    The problem is: The document is an older template and there are hundreds of docs based on that, so changing the template now is no solution (actually, I created a new one that is working, but all the old files are still affected of course).
    Everything was working fine some weeks ago - maybe an Update/SP2-Installation made some unlucky changes...
    I tried disabling Add-Ins in Word/Excel and checked the "Ignore other application" option in Excel without success.
    Any ideas appreciated!
    Best Regards,
    Stefan

    I am trying to involve someone familiar with this topic to further look at this issue. Appreciate your patience.
    Cheers,
    Tony Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please contact
    [email protected]

  • Cannot Edit Embedded Excel SpreadSheets

    There is a user at our company who cannot open Excel 2010 spreadsheets that have been embedded into Word 2010 documents. Sometimes the embedded Excel Spreadsheet will open with a Picture Tools menu ribbon. Other times he gets an error
    message that Excel is not installed on his computer. When other users open the same embedded objects on their computers they do not have any problems. I have replaced his computer but the problem continues with the new computer. I have also logged onto his
    computer with a different user account and I do not have a problem opening the embedded Excel spreadsheets. The user has Administrator rights on his own computer. We all have Windows 7 Enterprise and Office 2010 Professional Plus installed on our computers.
    Thanks in advance for any assistance with this issue.

    Hi,
    Try this:
    ============
    1.      
    Go to Excel.
    2.      
    Click File > Options >
    Advanced, then in the “General” section, remove the tick from “Ignore other applications that use Dynamic Data Exchange (DDE)“.
    For the general troubleshooting, you may refer to:
    Troubleshoot linked objects and embedded objects
    http://office.microsoft.com/en-us/word-help/troubleshoot-linked-objects-and-embedded-objects-HP005189818.aspx
    Best Regards,
    Sally Tang
    TechNet Subscriber Support in forum
    If you have any feedback on our support, please contact
    [email protected]   

  • Problem with embedded excel spreadsheet in Word document.

    I am having trouble with a word document that has an embedded excel spreadsheet in it.  If you double click on the spreadsheet to edit it, the following error message appears:
    "The program used to create this object is Excel.  That program is not installed on your computer.  To edit this object, you must install a program that can open the object."
    I know that Excel is installed on the PC.  The PC is running Windows XP SP3 x86 and Office Professional Plus 2007.  I have tried editing the spreadsheet on a PC running Windows 7
    Pro x64 with the same version of office and it works just fine.  I cannot find any differences in the setting between the two so I do not know why it works one place but not the other.
    Any ideas?

    If you double click on an Excel file in Windows Explorer, does Excel startup?  If not, right click on such a File and used the Open with item to set Excel as the default program for opening such files.
    If you need to do that, it may also overcome the issue with the embedded worksheet.
    Hope this helps.
    Doug Robbins - Word MVP,
    dkr[atsymbol]mvps[dot]org
    Posted via the Community Bridge
    "Flyguy009" wrote in message news:[email protected]...
    I am having trouble with a word document that has an embedded excel spreadsheet in it.  If you double click on the spreadsheet to edit it, the following error message appears:
    "The program used to create this object is Excel.  That program is not installed on your computer.  To edit this object, you must install a program that can open the object."
    I know that Excel is installed on the PC.  The PC is running Windows XP SP3 x86 and Office Professional Plus 2007.  I have tried editing the spreadsheet on a PC running Windows 7 Pro x64 with the same version of office and it works just fine. 
    I cannot find any differences in the setting between the two so I do not know why it works one place but not the other.
    Any ideas?
    Doug Robbins - Word MVP dkr[atsymbol]mvps[dot]org

  • OLE2 Manipulation of embedded Excel object - need assistance

    We are struggling to successfully manipulate an OLE2 embedded Excel spreadsheet from within Forms to update the cells driving an Excel chart using data from an Oracle data table.
    All code examples we have found deal with opening an existing file based Excel spreadsheet using OLE2 and manipulating that object, but we have found nothing on opening an embedded Excel spreadhsheet object.
    Using the GET_INTERFACE_POINTER function passing in the name of the OLE2 item to obtain a handle to the spreadsheet embedded object seems to return a valid value, but referencing this handle in subsequent calls to GET_OBJ_PROPERTY fails.
    The documentation suggests that calling the GET_INTERFACE_POINTER function passing in the name of the OLE2 container item that contains the embedded spreadsheet should open the spreadsheet, activate the spreadsheet and return a handle to the spreadsheet. The behavior doesn't suggest this causing us to wonder if the docs are not accurate and we are really getting back a handle only to the OLE2 container and not to the spreadsheet itself. If this theory is true then how does one properly reference the spreadsheet?
    Can anyone shed some light preferably in the form of some working code examples of how we can manipulate Excel 'Cell' objects in a Forms OLE2 embedded Excel spreadsheet?
    Any assistance is greatly appreciated!
    [email protected]

    Try to use:
    DECLARE
      handle ole2.obj_type;
      MySheet ole2.obj_type;
      appHandle ole2.obj_type;
      ok_verb boolean;
      MyRange ole2.obj_type;
      args ole2.list_type;
      ret_val varchar2(32000);
      row pls_integer:=1;
      col pls_integer:=1;
      new_val varchar2(1000);
      verb_cnt_str varchar2(100);
      verb_cnt pls_integer;
      loop_cntr pls_integer;
      verb_name varchar2(1000);
    BEGIN
      select TO_CHAR( sysdate, 'dd.mm.yyyy hh.mi.ss' ) INTO new_val FROM dual;
      -- Open document
      ok_verb:=false;
      verb_cnt_str := Forms_OLE.Get_Verb_Count('OLE1');
      verb_cnt := TO_NUMBER(verb_cnt_str); 
      FOR loop_cntr in 1..verb_cnt
      LOOP   
        verb_name := Forms_OLE.Get_Verb_Name('OLE1',loop_cntr);
        IF   verb_name = 'Open'   -- In English language
             OR verb_name='Nrjp{r|'  -- In Russian language (CP1251)
             THEN
               EXEC_VERB('OLE1',verb_name);
               ok_verb:=true;
        END IF;
      END LOOP;
      -- Check the errors
      IF NOT ok_verb THEN
           Message( 'Can''t found correct VERB');
           return;
      END IF;
      -- Get handle of item. (Who is it ? I don't know. :) )
      handle := forms_ole.get_interface_pointer('OLE1');
      -- Get handle of Excel application
      appHandle := ole2.Get_Obj_Property( handle, 'Application' );
    -- If you want, You can hide the Excel application
    -- ole2.set_Property( appHandle, 'Visible', 0 );
      -- Get ActiveSheet
      MySheet:=ole2.Get_Obj_Property( handle, 'ActiveSheet' );
      -- Cells(row,col)
      args:=OLE2.CREATE_ARGLIST;
      OLE2.ADD_ARG(args,row);
      OLE2.ADD_ARG(args,col);
      MyRange:= OLE2.GET_OBJ_PROPERTY( MySheet,'Cells',args);
      OLE2.INVOKE (MyRange,'Activate');
      OLE2.DESTROY_ARGLIST(args);
      -- Get the Cell value
      ret_val:=OLE2.GET_CHAR_PROPERTY( MyRange,'Value' );
      -- And modify it (to current date)
      OLE2.SET_PROPERTY( MyRange,'Value', new_val );
      -- Release handle 
      OLE2.RELEASE_OBJ( MyRange );
      OLE2.RELEASE_OBJ( MySheet );
      -- Save document
      -- 1. Set DisplayAlerts property of Excel Application object
      -- to FALSE ( 0=false, 1=true )
      ole2.SET_PROPERTY( appHandle, 'DisplayAlerts', 0 );
      ole2.invoke( appHandle, 'Save' );
      -- Close the Application
      ole2.invoke( appHandle, 'Quit' );
      -- Release handle
      ole2.release_obj( appHandle );
      ole2.release_obj( handle );
      Message( 'prev. value in Cells(1,1)='||ret_val);
      Message( ' ', NO_ACKNOWLEDGE );
    END;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Word doc with embedded Excel spreadsheet

    I have a Word (2010) doc in which I have embedded Excel (2010) spreadsheets.  We cannot open the spreadsheets after I convert the doc to pdf.  Is there a step I'm missing, or is this not possible?  Thanks

    Content of the embedded object in a Microsoft Office application does not come over to PDF.
    Basically PDF, being a completely different file format / technology from the MS applications' format(s)/technology, does not support this feature.
    You can create a PDF from Word that has not embedded objects.
    Now, with the PDF open in Acrobat you can attach the Excel files.
    Be well...

  • Word 2010 with Embedded Excel table becomes oversized for RDP users

    I originally asked this question on the SharePoint Online forums as this was the first time we've seen this issue. Original Post
    Summarized: we have a Word template with embedded Excel table created in SharePoint Online, and when a RDP user opens it, the document correctly opens in the local version of Word 2010 (not Word Online).   When the table is edited, it becomes
    larger to the point you can no longer view the entire table. 
    We have done some testing with Word 2010 outside of RDP and everything works correctly, the embedded Excel table doesn't become oversized and works as expected.  It seems to definitely be an issue with RDP and I've been looking for any assistance
    on resolving this issue.  I recently did some further testing and found that the only time the table becomes oversized and not view-able is when you copy and paste information from an existing 2003 Excel document.  I would think this is the issue,
    but it doesn't happen when working with Word and SharePoint outside of an RDP environment. 
    The template is a .docx file. All RDP users are in a 2008 R2 environment.

    I did some testing over the weekend and the simple answer to your question - Not always.
    I found 2 variables which seem to cause this to happen:
    1) We have 2 TS servers - one with IE 9, which remains to maintain support for a legacy app which will not work with IE 10 or 11, and one with IE 10.
    2) Screen resolution of the client computer - it seemed that systems with video configurations which could not exceed the maximum of 1280x1024 (the same screen resolution as our TS servers) didn't experience the issue.  There were some laptops
    and higher end systems with widescreen monitors, where this was an issue.  They typically didn't have a 1280x1024 option; yet even if they did they would experience the same issue, just not as pronounced.
    It also seems to only occur when a user copies and pastes information from Excel 2010 into the embedded Excel table in Word 2010.  Again, only within RDP.  On those client computers which had the problem, I could perform the same function outside
    of RDP without any problems.  However, this is not an ideal format for the chefs as they will frequently be moving between different systems during the day.

  • Live Office does not retain the Custom Sorting applied in a Webi report

    Hi,
    We have a Webi report in which we applied "Custom Sorting" to sort the Business Names in the required order. However, when we import that to excel using live office, excel doesnt retain the same format and there are not much options that are available within xcelsius to do the sorting. I have gone through various posts here but none resolved this specific issue.
    Here is our environment:
    Xcelsius 4.5
    Live Office Frame work 11.5.5.525
    BOXI R2 SP1 and MHF1
    I tried using different options under "Report View formatting" within live office options but none seem to have made any difference. Unfortunately we can't make any changes to the universe in this case. I checked for few paid addon's but they seem to be for Xcelsius 2008. We have a release next week and would appreciate if any of you can guide me to solve this issue.
    Thanks
    Pavan

    hi pavan
    i can just tell you that i had no issues with custom column sorting in webi with Enterprise XI 3.0 and Xcelsius 2008.
    Best Regards
    Ulrich

  • Embedded Excel in Word 2003 document Becomes Corrupt when Saved

    We have a Word 2003 document with Embedded Excel sheets in it.  When this document is saved and reopened, you cannot edit the excel tables, you just get the message "document corrupt, no longer available". 
    Detect and Repair doesn't fix it, it seems to make the excel table a picture or object that cannot be edited. 
    What is the fix for this?

    Hi
    This problem may occur if both of the following conditions are true:
    You installed Office XP SP-2 or Office 2000 SP-3.
    You are running one of the following Norton AntiVirus or Norton SystemWorks programs:
    Norton AntiVirus 2003
    Norton AntiVirus 2002
    Norton AntiVirus 2001
    Norton AntiVirus 2000
    Norton SystemWorks 2003
    Norton SystemWorks 2002
    Norton SystemWorks 2001
    Norton SystemWorks 2000
    Note Norton AntiVirus and Norton SystemWorks are supported by Symantec.
    For more information to resolve the issue, refer to the link below:
    http://support.microsoft.com/kb/328613/en-us
    Regards
    Tylor Wang
    TechNet Community Support
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Cannot search file content on Word document with embedded Excel table

    Cannot search file content on Word document with embedded Excel table. I have Windows 8.1 64-bit and Office 2010 Professional. Only phrases from within Excel tables are not searchable. I have many Word documents with embedded Excel table.
    I use it for my invoices. Those invoices are converted to pdf to be sent via mail. Searching the same phrases in related pdf files Works fine. And yes, folders are indexed, searching service is active......... For example I can find all invoices that have
    specific address or name, which is located in word document, but cannot find invoices with specific item name or price, being that information is in embedded Excel table. (not linked, embedded). I thought that is a question for Windows forum, but guys directed
    me here on Office forum. To clarify, I do not use Ctrl+F inside some document, but Windows Search in my folders. Probably the same happens in Office 2013.
    Thank you.

    Hi, I have a lot of Word documents (invoices, offers). Main part of those documents is embedded Excel file because it is easier to do mathematics in Excel than in Word. There are columns with description, unit price, quantity, taxes... Now, I need
    to find who bought HP switch 2530-24G last year. I open folder with last year invoices and search "2530". Cannot find any. But if that document was converted to pdf for mail, than I can find that phrase. Windows search does not work for content if the content
    is in embedded file.

  • Embedded Excel table in Word 2013

    I just purchased a new laptop with Window 8 and Office 2013. Previous Word files with embedded Excel tables will open once then refuse to open a second time. I get an error message, "the program used to create this object is Excel. That program
    us either not installed or your computer..." Both Excel and Word work fine on their own. One thread suggested turning off Add-Ins but I'm not sure how to do that... And it did not seem to work for the other person... HELP!

    Hi,
    In regarding of the issue, I recommend we do some tests to narrow down the issue.
    Create a new Word 2013 file and a Excel 2013 file, and insert the Excel file as object in Word to test.
    If it works fine, we need to repair the previous Word files.
    If it does not work fine, please try to start Word 2013 in
    safe mode (Press Win+R > enter Winword.exe /safe). If it works fine, we'd better check the add-ins both of the Word and Excel:
    In Excel/Word go to file>options>add-ins. Then down the bottom select COM Add-ins from the drop down menu and hit go. Uncheck everything hit ok. Close the options menu close Excel.
    After, we also could update all the latest Office 2013 and Windows 8 patches to test.
    Regards,
    George Zhao
    TechNet Community Support

  • Unable to modify embedded Excel spreadsheet

    Unable to modify embedded Excel spreadsheet
    I am having problems with 2 Xcelsius files.  When I open them and try to change the tab name, the embedded Excel spreadsheet is coming up that it is protected, but I have never put a password on these 2 files.
    The following pop-up message appears - "Workbook is protected and cannot be changed".
    Please advise.
    Thanks,
    Neil.

    HI Neil
    Assuming your using Xcelsius 2008, have you tried exporting the spreadsheet (Data > Export), check the exported workbook for passwords and then re-imported the spreadsheet back into your model?
    Regards
    [Charles|http://www.reportex.co.uk/xc_waterfallchart.html]

  • InDesign CS6 will not retain preferences

    One of my users was recently upgraded from CS5 to Design and Web Premium CS6.  The first issue is that the InDesign program crashes for no apparent reason from time to time.  Secondly, the InDesign program will not retain any preferences.  If the program crashes and is restarted, the preferences are lost.  Also, if the program is closed normally and reopened, the preferences are lost.  This started happening about one month ago and prior to that, there were no problems. 
    I have searced the forums and internet for a solution and while I've been able to find similar issues with other users, I cannot find a resolution.  Re-installaiton of the program has not produced a resolution.  Can anyone assist with this frustrating problem.

    I'm sorry Pete...I didn't quite get your response.  Can you reboot into safe mode, disable all drivers, turn off your virus protection, uninstall the latest service pack and then reinstall it, check your fonts because bad fonts can cause problems in getting responses through.
    Pete...I don't disrespect you. I DON'T EVEN KNOW YOU.  I'm sure that your intentions are always legit and that you truly TRY to help people.  My only issues are that I came her for help and would rather have a dozen people shrug their shoulders and say "IDUNNO" rather than getting the same old questions about drivers, service packs, virus protection, firewalls or first born male childs birthdate.  While I may have been aggressive in looking for a solution....I did find your responses to be a bit patronizing and belittling.  I do not disrespect you.
    A different philosophy?  ABSO-FREAKING-LOUTLEY!!!  I'm more of a "fix the problem guy".  Forget the amputation...put the poor ******* out of his misery and perform a Frankenstein ritual to bring him back to life (My analogy for a quick re-image from my deployment server).  Fortunately for me, I was able to solve the issue by simply recreating a user profile.
    Once again, thanks Pete for you response.

Maybe you are looking for