
## Protect function

Protects a workbook.

```go

func (instance *Workbook) Protect(protectiontype ProtectionType, password string)  error

```

## Remarks


## See Also

* Class [Workbook](../)
* Library [Aspose.Cells for Go](../../)
