M
myicq
I am using SQLView to categorize and group my contacts. But for the
other people in the company I need to populate shared contacts
folders.
I can manually copy from SQLView.. but if I forget to hold ctrl,
Outlook will move, causing all my categories to be lost.
Now I wish to copy via macro. In that connection, I have two
questions:
1) How do I address subfolders with contacts that are NOT below my
default contacts ? This will work, but it's not very clear what is
happening:
Set colcontacts = objNS.Folders(1).Folders(6).Folders(3).Items
I thought I could do something like
Set colcontacs =
objNS.Folders("SQLView\Contacts\Company").Items
but I only get "Object not found"
What is the correct way of addressing subfolders, from the root of
MAPI
Namespace ?
2) How do I copy contacts from one folder to another ? I probably need
to
delete the destination folder first, not to create duplicates.
.. obviously, if there's a sync tool that will take from folder A to
folder B
and check for duplicates, I could use that. But I have only found a
tool
that has default contacts as destination.
Thanks for any help
other people in the company I need to populate shared contacts
folders.
I can manually copy from SQLView.. but if I forget to hold ctrl,
Outlook will move, causing all my categories to be lost.
Now I wish to copy via macro. In that connection, I have two
questions:
1) How do I address subfolders with contacts that are NOT below my
default contacts ? This will work, but it's not very clear what is
happening:
Set colcontacts = objNS.Folders(1).Folders(6).Folders(3).Items
I thought I could do something like
Set colcontacs =
objNS.Folders("SQLView\Contacts\Company").Items
but I only get "Object not found"
What is the correct way of addressing subfolders, from the root of
MAPI
Namespace ?
2) How do I copy contacts from one folder to another ? I probably need
to
delete the destination folder first, not to create duplicates.
.. obviously, if there's a sync tool that will take from folder A to
folder B
and check for duplicates, I could use that. But I have only found a
tool
that has default contacts as destination.
Thanks for any help