Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable cell protection #751

Open
JDasHO opened this issue Aug 22, 2024 · 1 comment
Open

Enable cell protection #751

JDasHO opened this issue Aug 22, 2024 · 1 comment

Comments

@JDasHO
Copy link

JDasHO commented Aug 22, 2024

Hi everyone,
is there a way to enable protection of a worksheet?
Right now what I'm trying to do is setting a cell to protected like so:

ws.cell("D4").protection(xlnt::protection::locked_and_visible());

However it doesn't take effect. When I open the so created xlsx file in Excel I can still edit the protected cell and under cell/formatting Excel also informs me that cell protection is only effective after I enabled sheet protection.

@m7913d
Copy link

m7913d commented Aug 22, 2024

As discussed in issue #748, this repo has been unmaintained for several years.
In order to continue this great project started by tfussell, we have created a new repo to support further development by the community.
Feel free to participate in this community effort by submitting issues and PR to this new community-driven repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants