I have a VBA script which creates & saves Draft emails. To add recipients, it pulls a string from a linked Excel table and adds that to the Recipients object.
For e
Recipients.Add
takes a single email address.
If you wish to have multiple recipients, call Recipients.Add
for each one.
If your string is returned in a ;
delimited format, then something like:
dim EmailList as variant
dim NumEmails as long
dim AddEmailLoop as long
EmailList=split(StrEmailTo,";")
NumEmails=UBound(EmailList)
For AddEmailLoop=0 to NumEmails
Recipients.add(EmailList(AddEmailLoop))
next
should allow you to add the entire list