title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Presentation.WritePassword property (PowerPoint) |
vbapp10.chm583081 |
|
|
42381e81-c5d0-3db1-f214-6619bbc6711f |
08/02/2022 |
medium |
Sets or returns the password for saving changes to the specified document. Read/write.
expression. WritePassword
expression A variable that represents a Presentation object.
String
If the presentation is not fully downloaded, the setting of this property fails and an error occurs. For more information about the Partial Documents, see Work with Partial Documents.
This example sets the password for saving changes to the active presentation.
Sub SetSavePassword()
ActivePresentation.WritePassword = complexstrPWD 'global variable
End Sub
[!includeSupport and feedback]