WritePassword Property

Sets or returns a String that represents a password for saving changes to the specified document. Read/write.

expression.WritePassword

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the password for saving changes to the active presentation.

Sub SetSavePassword()
    ActivePresentation.WritePassword = complexstrPWD 'global variable
End Sub

Applies to | Presentation Object