Resolving Conflicts from VBA code

G

Guest

Sue Mosher has helped me identify conflicted contact items in VBA code (Thanks Sue!).
***
dim oContact as Objec
dim oContacts as Item
dim oFolder as MAPIFolde

...
set oContacts = oFolder.Item
for each oContact in oContact
if oContact.IsConflict The
' *** Here is where we know we have a conflicted ite
**

I'm now trying to find a way to *resolve* conflicts through code as well. I'm not picky as to which version to retain (first or last saved is fine), I just need to get the conflicts resolved

Thanks in advance for any help you can give me on this
 
S

Sue Mosher [MVP-Outlook]

You should be able to use the ContactItem.Conflicts collection, but I
haven't worked with it myself yet.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Jeff Moore said:
Sue Mosher has helped me identify conflicted contact items in VBA code (Thanks Sue!).
****
dim oContact as Object
dim oContacts as Items
dim oFolder as MAPIFolder

...
set oContacts = oFolder.Items
for each oContact in oContacts
if oContact.IsConflict Then
' *** Here is where we know we have a conflicted item
***

I'm now trying to find a way to *resolve* conflicts through code as well.
I'm not picky as to which version to retain (first or last saved is fine), I
just need to get the conflicts resolved.
 
G

Guest

I haven't found any documentation on the ContactItem.Conflicts collection. Does anyone know where I can find it

PS: I'll post my solution when completed

----- Sue Mosher [MVP-Outlook] wrote: ----

You should be able to use the ContactItem.Conflicts collection, but
haven't worked with it myself yet

--
Sue Mosher, Outlook MV
Author o
Microsoft Outlook Programming - Jumpstart fo
Administrators, Power Users, and Developer
http://www.outlookcode.com/jumpstart.asp


Jeff Moore said:
Sue Mosher has helped me identify conflicted contact items in VBA cod (Thanks Sue!)
***
dim oContact as Objec
dim oContacts as Item
dim oFolder as MAPIFolde
set oContacts = oFolder.Item
for each oContact in oContact
if oContact.IsConflict The
' *** Here is where we know we have a conflicted ite
**
I'm not picky as to which version to retain (first or last saved is fine),
just need to get the conflicts resolved
 
S

Sue Mosher [MVP-Outlook]

When in doubt, check the object browser: Press ALt+F11 to open the VBA
environment in Outlook, then press F2. Find the object and property and
press F1 for the Help topic. There may be something on MSDN as well.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Jeff Moore said:
I haven't found any documentation on the ContactItem.Conflicts collection.
Does anyone know where I can find it?
PS: I'll post my solution when completed.

----- Sue Mosher [MVP-Outlook] wrote: -----

You should be able to use the ContactItem.Conflicts collection, but I
haven't worked with it myself yet.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top