Click or drag to resize
NanoXLSX

WorksheetSetSheetProtectionPassword Method

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

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
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