CoAuthLock.Range property (Word)

Returns a Range object that represents the portion of a document that is contained in the specified object. Read-only.

Syntax

expression.Range

expression An expression that returns a 'CoAuthLock' object.

Example

The following code example gets the document range for the first lock in the active document and displays the range text to the user.

MsgBox ActiveDocument.Coauthoring.Locks(1).Range

See also

CoAuthLock Object

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.