Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a WdLockType constant that specifies the lock type. Read-only.
Version Information
Version Added: Word 2010
Syntax
expression .Type
expression An expression that returns a CoAuthLock object.
Example
The following code example removes all the reservation locks in the active document.
Dim myLock As CoAuthLock
For Each myLock In ActiveDocument.CoAuthoring.Locks
If myLock.Type = wdLockReservation Then
myLock.Unlock
End If
Next myLock