Just in case this will show you what to tell me.....this is a code that someone gave me, that when I run it from the top macro, it displays all contacts from every where I think....so is there something to put in this so it only displays the contact of the email address from the note field of the received email....or is there anything from this code, to add to your code so it does it for all folders?
Sub GetValueUsingRegEx39()
Dim obj As Object
Dim Selection As Selection
Dim olMail As Object 'Outlook.MailItem
Dim Reg1 As Object
Dim M1 As Object
Dim M As Object
Dim strAddress As String
Dim myContacts As Items
Dim myItem As contactItem
Set Selection = Application.ActiveExplorer.Selection
Set objNS = Application.GetNamespace("MAPI")
processFolder (objNS.GetDefaultFolder(olFolderContacts))
End Sub
Private Sub processFolder(ByVal oParent As outlook.MAPIFolder)
Dim oFolder As outlook.MAPIFolder
Dim oContact As outlook.contactItem
For Each oContact In oParent.Items
oContact.Display
Next
If (oParent.Folders.Count > 0) Then
For Each oFolder In oParent.Folders
Call processFolder(oFolder)
Next
End If
End Sub