Solved

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

Posted on 2008-10-24
2
262 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Changing a few Outlook Options can help keep you organized!
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

729 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