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

protectedRange property return empty Array #1403

Open
askonev opened this issue Nov 12, 2024 · 0 comments
Open

protectedRange property return empty Array #1403

askonev opened this issue Nov 12, 2024 · 0 comments

Comments

@askonev
Copy link
Member

askonev commented Nov 12, 2024

builder create file with

builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
oWorksheet.GetRange("A1").SetValue("1");
oWorksheet.GetRange("B1").SetValue("2");
oWorksheet.AddProtectedRange("protectedRange", "Sheet1!$A$1:$B$1");
builder.SaveFile("xlsx", "ProtectedRange.xlsx");
builder.CloseFile();

And if parse this xlsx, property:
add_protected_range.js20241112-435558-6wmtdr.xlsx

xlsx.worksheets.first.protected_ranges

return [] - empty array

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

1 participant