synchronize outlook contacts with ms access 2013


I have an outlook configured with exchange but I need to manipulate the contacts info, so I thought could be possible with ms access 2013 but I can't find a solution to do it. I need to create some queries in access with the contacts info, delete duplicate records, create query with all users that have an email on the field email, and some other things, but I need to keep updated my outlook contacts info.

Any idea? some guidelines or a place where can I find info about?

There are around  15 thousand records on the conacts folder, so do it one by one is complicated.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

HuaMin ChenProblem resolverCommented:
Private Sub ThisAddIn_Startup(ByVal sender As Object, _
    ByVal e As System.EventArgs) Handles Me.Startup
    End Sub 

    Private Sub AccessContacts(ByVal findLastName As String)
        Dim folderContacts As Outlook.MAPIFolder = Me.Application.ActiveExplorer() _
            .Session.GetDefaultFolder(Outlook.OlDefaultFolders _
        Dim searchFolder As Outlook.Items = folderContacts.Items
        Dim counter As Integer = 0
        For Each foundContact As Outlook.ContactItem In searchFolder
            If foundContact.LastName.Contains(findLastName) Then
                counter = counter + 1
            End If 
        MsgBox("You have " & counter & _
            " contacts with last names that contain " _
            & findLastName & ".")
    End Sub

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Helen FeddemaCommented:
This is not an easy task.  In the sample database for my last printed book, the Access 2007 VBA Bible, I did synchronization between Access and Outlook contacts (for Office 2007).  Since Access is a relational database, with one-to-many relationships between companies and contacts, and contacts and phones and IDs, this involved denormalizing the data when moving Access data to Outlook, and normalizing the Outlook data when moving it to Access.  Lots of code there.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.