Worksheet.SetProtect

Worksheet.SetProtect method

Protects worksheet.

public void SetProtect()

Remarks

This method protects worksheet without password. It can protect worksheet in all versions of Excel file.

See Also