Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Conflicts Property
Collapse the table of content
Expand the table of content

MailItem.Conflicts Property (Outlook)

Return the Conflicts object that represents the items that are in conflict for any Outlook item object. Read-only.

expression .Conflicts

expression A variable that represents a MailItem object.

The following Microsoft Visual Basic for Applications (VBA) example uses the Count property of the Conflicts object to determine if the item is involved in any conflict. To run this example, make sure a mail item is open in the active window.

Sub CheckConflicts() 
 Dim myItem As Outlook.MailItem 
 Dim myConflicts As Outlook.Conflicts 
 Set myItem = Application.ActiveInspector.CurrentItem 
 Set myConflicts = myItem.Conflicts 
 If (myConflicts.Count > 0) Then 
 MsgBox ("This item is involved in a conflict.") 
 MsgBox ("This item is not involved in any conflicts.") 
 End If 
End Sub
© 2015 Microsoft