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+6ab75fa9edd66571b0de8e574b48108101297ca1
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