Share via


Range.Updates Property (Word)

Returns a CoAuthUpdates collection object that represents all updates that were merged into the specified range at the last explicit save. Read-only.

Version Information

Version Added: Word 2010

Syntax

expression .Updates

expression An expression that returns a Range object.

Remarks

Use the Updates property to return the CoAuthUpdates collection.

Note

This property is only available for co-authoring enabled documents. If you attempt to access this property on a document that is not enabled for co-authoring, you will receive a run-time error.

Example

The following code example displays the number of updates that were merged into the first paragraph of the active document at the last explicit save.

Dim countOfUpdates As Integer 
 
countOfUpdates = ActiveDocument.Paragraphs(1).Range.Updates.Count 
 
MsgBox "The number of updates is " & countOfUpdates

See Also

Concepts

Range Object

Range Object Members