Solved

Want to add senders of multiple emails to contacts at once.

Posted on 2008-10-24
2
234 Views
Last Modified: 2012-05-05
I have 40 or so emails, all with different senders, and I'd like to add all of them to my contact list without having to manually do each one.  Is there a way?
0
Comment
Question by:dannyboy266
2 Comments
 
LVL 15

Accepted Solution

by:
WilyGuy earned 250 total points
ID: 22798259
Without scripting, you can do something like that with the Outlook Add On - "Add-Contacts"
http://www.office-addins.com/-outlook-addins/add-contacts.html
0
 
LVL 28

Assisted Solution

by:omgang
omgang earned 250 total points
ID: 22798651
Here's a vba function to do it
OM Gang
Public Function AddToContacts()

On Error GoTo Err_AddToContacts
 

    Dim olNS As NameSpace

    Dim olFolder As MAPIFolder

    Dim olMsg As MailItem

    Dim olContact As ContactItem
 

    Set olNS = Outlook.GetNamespace("MAPI")

    Set olFolder = olNS.PickFolder

    

    For Each olMsg In olFolder.Items

        Set olContact = Outlook.CreateItem(olContactItem)

        olContact.Email1Address = olMsg.SenderEmailAddress

        olContact.FullName = olMsg.SenderName

        olContact.Save

    Next

    

Exit_AddToContacts:

    Set olContact = Nothing

    Set olMsg = Nothing

    Set olFolder = Nothing

    Set olNS = Nothing

    Exit Function
 

Err_AddToContacts:

    MsgBox Err.Number & ", " & Err.Description, , "Error"

    Resume Exit_AddToContacts

    

End Function

Open in new window

0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now