
## SetPassword function

Represents the password to protect the worksheet.

```go

func (instance *Protection) SetPassword(value string)  error

```

## Remarks


## See Also

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