Muokkaa

Jaa


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.

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

Range 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.