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.2+f55916d49ef2baa43fc7dc8f5c7d751a77c50baf
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