WorksheetProtect Method (ProtectionType)

Protects worksheet.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.2.0.0 (20.2)
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