CoAuthLocks object (Word)

A collection of CoAuthLock objects.


Use the Locks property to return the CoAuthLocks collection.


The following code example displays the number of locks in the active document.

MsgBox ActiveDocument.CoAuthoring.Locks.Count

See also

CoAuthoring.Locks Property

Word Object Model Reference

Support and feedback

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.