Export (0) Print
Expand All
Expand Minimize

Document.Protect Property (Word)

Office 2010

Returns or sets the protection type for the document associated with the specified routing slip. Read/write WdProtectionType.

expression .Protect

expression Required. A variable that represents a Document object.

This example specifies the type of protection to use for the active document (only allows comments) and then routes it.

ActiveDocument.HasRoutingSlip = True 
With ActiveDocument.RoutingSlip 
 .Subject = "Status Doc" 
 .Protect = wdAllowOnlyComments 
 .AddRecipient Recipient:="Kim Johnson" 
End With 
ActiveDocument.Route

Community Additions

ADD
Show:
© 2014 Microsoft