Click or drag to resize
PicoXLSX

WorksheetSetSheetProtectionPassword Method

Sets or removes the password for worksheet protection. If set, UseSheetProtection will be also set to true

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 3.4.5+3a069966d2787c42b695e5043a5e083b247634e3
Syntax
C#
public void SetSheetProtectionPassword(
	string password
)

Parameters

password  String
Password (UTF-8) to protect the worksheet. If the password is null or empty, no password will be used.
See Also