Protect

Workbook.Protect method

Protects a workbook.

public void Protect(ProtectionType protectionType, string password)
Parameter Type Description
protectionType ProtectionType Protection type.
password String Password to protect the workbook.

See Also