title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
CoAuthoring.Locks property (Word) |
vbawd10.chm254869509 |
|
|
cf8feb0f-3617-c239-08de-ac6f8fc71b6e |
06/08/2017 |
medium |
Returns a CoAuthLocks collection that represents the locks in the document. Read-only.
expression. Locks
expression An expression that returns a 'CoAuthoring' object.
The following code example displays the number of locks in the active document.
MsgBox "There are " & _
ActiveDocument.CoAuthoring.Locks.Count & _
" locks in the active document."
[!includeSupport and feedback]