Solved

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

Posted on 2008-10-24
2
244 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Outlook Free & Paid Tools
Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

821 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