Share via


Range.Conflicts Property (Word)

Returns a Conflicts collection object that contains all the conflict objects in the range. Read-only.

Version Information

Version Added: Word 2010

Syntax

expression .Conflicts

expression An expression that returns a Range object.

Remarks

Use the Conflicts property to return the Conflicts collection object for a document. Use Conflicts(Index), where Index is the conflict index number, to return a single Conflict object.

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 conflicts in the first paragraph of the active document.

MsgBox ActiveDocument.Paragraphs(1).Range.Conflicts.Count

See Also

Concepts

Range Object

Range Object Members