Cluskitt
asked on
Loop with VBA through Outlook 2007 contacts stored on a different .pst
We have our contacts stored on a separate .pst which has nothing else other than contacts and the default stuff MS places on every pst. This is so we can synchronize out contacts here with a simple copy/paste script.
However, I can't seem to find a way to loop through the contacts using VBA for mass editing. I can loop through the default pst contacts, but those are empty.
Anyone knows how I can achieve this, please?
However, I can't seem to find a way to loop through the contacts using VBA for mass editing. I can loop through the default pst contacts, but those are empty.
Anyone knows how I can achieve this, please?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Nevermind, got it working. I just had to make create another loop outside the items loop to cycle through the subfolders. Thanks for the help.
ASKER
If I use the path (to continue with that example): "Personal Folders\Contacts\Contacts1
I want to loop all the folders inside contacts. Going through them one by one kinda defeats the purpose.
And yes, you can assume a decent VBA knowledge. :)