CoAuthLock.Owner property (Word)
Returns the CoAuthor that owns the specified lock. Read-only.
expression. Owner
expression An expression that returns a 'CoAuthLock' object.
The following code example displays the name of the owner of each lock in the active document.
Dim myLock As CoAuthLock
For Each myLock In ActiveDocument.CoAuthoring.Locks
MsgBox "The owner of this lock is " & _
myLock.Owner.Name & "."
Next myLock
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.