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.3+c820fb107cc06ae187946bad43db42d71f6faf1c
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