Export (0) Print
Expand All
Expand Minimize

Document.WriteReserved Property

Office 2007
True if the specified document is protected with a write password. Read-only Boolean.

Syntax

expression.WriteReserved

expression   A variable that represents a Document object.

Example

This example displays a message if the active document has a write password.

Visual Basic for Applications
If ActiveDocument.WriteReserved = True Then 
    MsgBox "Changes cannot be made to this document."
End If



Community Additions

ADD
Show:
© 2015 Microsoft