Code Monkey home page Code Monkey logo

Comments (5)

AlexJerabek avatar AlexJerabek commented on July 28, 2024

Hi @sivakrishna0205,

Thanks for raising this issue with our sample code. Can you share your implementation of passwordHelper with us? Any error logs would be helpful too.

We have a sample implementation in our ScriptLab sample. It's the "DataProtection" sample, which can also been found here.

from office-js-docs-reference.

sivakrishna0205 avatar sivakrishna0205 commented on July 28, 2024

Hi @AlexJerabek ,
Thanks for reply.
I have executed ScriptLab Add-in sample examples in my Excel 2016 desktop version. Its throwing following exception.
image
Error: c {description: "The property 'protected' is not available. Before reading the property's value, call the load method on the containing object and call "context.sync()" on the associated request context.", name: "RichApi.Error"....

from office-js-docs-reference.

Reezaali avatar Reezaali commented on July 28, 2024

@sivakrishna0205 sorry to hear it's still not working. Can you share the Excel version and build number please?

from office-js-docs-reference.

sivakrishna0205 avatar sivakrishna0205 commented on July 28, 2024

@sivakrishna0205 sorry to hear it's still not working. Can you share the Excel version and build number please?

@Reezaali

image

from office-js-docs-reference.

AlexJerabek avatar AlexJerabek commented on July 28, 2024

Hi @sivakrishna0205,

Thanks for the information. Office 2016 only supports the Excel APIs up through requirement set 1.1. You can view platform support here and the support of specific Excel builds here.

WorkbookProtection was introduced in ExcelAPI 1.7. That functionality will work in Office Online and Office 365.

I'm going to close the issue since the error is expected. Please respond to this thread if you there's a documentation issue around requirement sets or related information. Thanks!

from office-js-docs-reference.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.