Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

How to protect excel sheet in d365

(0) ShareShare
ReportReport
Posted on by 25
 
Hello.
This article was written by a translator.
Like the image below 
i'm looking for a way to code 'protect sheet' within d365(X++) source.
If there is way, please post an example code or class.
Thank you.
 
 
//Protect/
  • Martin Dráb Profile Picture
    Martin Dráb 230,962 Most Valuable Professional on at
    How to protect excel sheet in d365
    For reference, js lee created yet another thread and replied there. It seem that (s)he realized to how to write the code and therefore no more replies are needed.
     
    js lee, please correct me if I'm wrong.
  • js lee Profile Picture
    js lee 25 on at
    How to protect excel sheet in d365
    Second note url didn't help either.
    Don't you have a clearer example code?
  • Martin Dráb Profile Picture
    Martin Dráb 230,962 Most Valuable Professional on at
    How to protect excel sheet in d365
    For reference, js lee created a duplicate thread and replied there. Anyone interested in this discussion should look there.
  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,962 Most Valuable Professional on at
    How to protect excel sheet in d365
    You can use EPPLus library to work with Excel files. If you do, check out Encrypt and Protect your workbook.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,160 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans