Excel VBA to create multiple distribution lists in outlook (2016)

Status
Not open for further replies.

Beth0331

New Member
Joined
Jun 13, 2018
Messages
7
Hello,

I'm looking for a way to create 80+ distribution lists in outlook and include contacts in those groups. My data looks like the below. I would need to create a new distribution list(contact group) in outlook based off of the name in the DistList column and add new contacts to it. For example I would need to Create a Distribution list named XYZInc3 and then create four new contacts in that distribution lists (Mary, Joe, Sarah & John). After that one is created I would need EFGCorp7 created with 3 contacts(Bob, David and Sue) and so on. Can someone assist with the code that can do this?

Ideally I would like to save these down to a Public Contacts folder, is this possible?

DistListFirst NameLast NameEmail AddressCompany
XYZInc3MaryWrightmary@xyz.comXYZ Incorporated
XYZInc3JoeGordjoe@@xyz.comXYZ Incorporated
XYZInc3SarahGillsarah@@xyz.comXYZ Incorporated
XYZInc3JohnWellsjohn@@xyz.comXYZ Incorporated
EFGCorp7BobMillbobm@efg.comEFG Corporation
EFGCorp7DavidSandsdavids@efg.comEFG Corporation
EFGCorp7SueLynnsuel@efg.comEFG Corporation
NNNLLC2GinaJonesgina2@nnn.comNNN LLC

<tbody>
</tbody>


Thank you
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Duplicate https://www.mrexcel.com/forum/excel...ibution-lists-outlook-2016-a.html#post5086516

Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread.
Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).

Note that sometimes posts from new users require Moderator approval before you can see them on the public forums. When this happens, you should see a message to that effect when you try to post it.
Please be patient and do not attempt to post the question again.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,215,529
Messages
6,125,344
Members
449,219
Latest member
Smiqer

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