Extract Email Adresses

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,561
Office Version
  1. 2021
Platform
  1. Windows
I have names in Col A that is the same as the names in the address book in Microsoft Outtlook

I need a macro that will extract the email address/es in Col B based on the names in Col A


It would be appreciated if someone could assist me
 
Last edited:

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
See some same data below as requested.


The items in Column A are manually typed but are exactly the same as the distribution group in Outlook called "Sales Staff", "Admin Staff" etc.

What I am looking for for code to extract the email addresses from outlook that matches the distribution list in Column B


Examples
A2: Sales Staff
B2: Ste@mac.com;pet@mac.com

A3: Admin Staff
B3: dav@mac.com;lau@mac.com;nig@mac.com
 
Last edited by a moderator:
Upvote 0
Since this is as much (or more) about extracting info from Outlook than Excel, I have moved the thread to a more appropriate forum.
Unfortunately in this forum, you can't use the HTML Makers so I have re-written your sample data.

(Hi Gerardo, hope you are well! Good to see you pop in here again - haven't seen you about for quite a while! :))
 
Upvote 0
Hi Peter

Thanks for moving this to a more apprpriate forum


Please provide link to the forum
 
Upvote 0
Hi Peter


You mentioned in post #5 , that you haved oved the thread to a more appropriate forum, hence the reason for asking for the link.ly under


I now see that you have moved it under general. I was initially under the impression that you had moved it to another Excel forum on another Website
 
Last edited:
Upvote 0
Ah, now I understand. No, just moved to the 'General Excel Discussion & Other Questions' forum within MrExcel. :)
 
Upvote 0

Forum statistics

Threads
1,214,631
Messages
6,120,640
Members
448,974
Latest member
DumbFinanceBro

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top