Protect Property

Microsoft Word Visual Basic

WdProtectionType can be one of these WdProtectionType constants.
wdAllowOnlyComments
wdAllowOnlyFormFields
wdAllowOnlyRevisions
wdNoProtection

expression.Protect

expression    Required. An expression that returns a RoutingSlip object.

Example

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