WorksheetProtect Method (ProtectionType)
Protects worksheet.

Namespace: Aspose.Cells
Assembly: Aspose.Cells (in Aspose.Cells.dll) Version: 19.11.0.0 (19.11)
Syntax
public void Protect(
	ProtectionType type
)

Parameters

type
Type: Aspose.CellsProtectionType
Protection type.
Remarks
This method protects worksheet without password. It can protect worksheet in all versions of Excel file.
See Also