Sheet protection
Last updated
Enable Excel's worksheet protection to prevent users from editing cells. Protection can be applied with or without a password, and can be selectively lifted on individual cells, rows, or columns by combining it with the Format::unlocked() style.
protection(?string $password = null): selfOptional. The unlock password. When omitted the sheet is still protected, but anyone can unlock it from the Excel UI without a password prompt.
Topics:
Last updated