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?
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]DistList[/TD]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]Email Address[/TD]
[TD]Company[/TD]
[/TR]
[TR]
[TD]XYZInc3[/TD]
[TD]Mary[/TD]
[TD]Wright[/TD]
[TD]mary@xyz.com[/TD]
[TD]XYZ Incorporated[/TD]
[/TR]
[TR]
[TD]XYZInc3[/TD]
[TD]Joe[/TD]
[TD]Gord[/TD]
[TD]joe@@xyz.com[/TD]
[TD]XYZ Incorporated[/TD]
[/TR]
[TR]
[TD]XYZInc3[/TD]
[TD]Sarah[/TD]
[TD]Gill[/TD]
[TD]sarah@@xyz.com[/TD]
[TD]XYZ Incorporated[/TD]
[/TR]
[TR]
[TD]XYZInc3[/TD]
[TD]John[/TD]
[TD]Wells[/TD]
[TD]john@@xyz.com[/TD]
[TD]XYZ Incorporated[/TD]
[/TR]
[TR]
[TD]EFGCorp7[/TD]
[TD]Bob[/TD]
[TD]Mill[/TD]
[TD]bobm@efg.com[/TD]
[TD]EFG Corporation[/TD]
[/TR]
[TR]
[TD]EFGCorp7[/TD]
[TD]David[/TD]
[TD]Sands[/TD]
[TD]davids@efg.com[/TD]
[TD]EFG Corporation[/TD]
[/TR]
[TR]
[TD]EFGCorp7[/TD]
[TD]Sue[/TD]
[TD]Lynn[/TD]
[TD]suel@efg.com[/TD]
[TD]EFG Corporation[/TD]
[/TR]
[TR]
[TD]NNNLLC2[/TD]
[TD]Gina[/TD]
[TD]Jones[/TD]
[TD]gina2@nnn.com[/TD]
[TD]NNN LLC[/TD]
[/TR]
</tbody>[/TABLE]
Thank you
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?
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]DistList[/TD]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]Email Address[/TD]
[TD]Company[/TD]
[/TR]
[TR]
[TD]XYZInc3[/TD]
[TD]Mary[/TD]
[TD]Wright[/TD]
[TD]mary@xyz.com[/TD]
[TD]XYZ Incorporated[/TD]
[/TR]
[TR]
[TD]XYZInc3[/TD]
[TD]Joe[/TD]
[TD]Gord[/TD]
[TD]joe@@xyz.com[/TD]
[TD]XYZ Incorporated[/TD]
[/TR]
[TR]
[TD]XYZInc3[/TD]
[TD]Sarah[/TD]
[TD]Gill[/TD]
[TD]sarah@@xyz.com[/TD]
[TD]XYZ Incorporated[/TD]
[/TR]
[TR]
[TD]XYZInc3[/TD]
[TD]John[/TD]
[TD]Wells[/TD]
[TD]john@@xyz.com[/TD]
[TD]XYZ Incorporated[/TD]
[/TR]
[TR]
[TD]EFGCorp7[/TD]
[TD]Bob[/TD]
[TD]Mill[/TD]
[TD]bobm@efg.com[/TD]
[TD]EFG Corporation[/TD]
[/TR]
[TR]
[TD]EFGCorp7[/TD]
[TD]David[/TD]
[TD]Sands[/TD]
[TD]davids@efg.com[/TD]
[TD]EFG Corporation[/TD]
[/TR]
[TR]
[TD]EFGCorp7[/TD]
[TD]Sue[/TD]
[TD]Lynn[/TD]
[TD]suel@efg.com[/TD]
[TD]EFG Corporation[/TD]
[/TR]
[TR]
[TD]NNNLLC2[/TD]
[TD]Gina[/TD]
[TD]Jones[/TD]
[TD]gina2@nnn.com[/TD]
[TD]NNN LLC[/TD]
[/TR]
</tbody>[/TABLE]
Thank you