Private Sub MailingList()
Dim dbs
Dim rst
Dim strRecep
Set dbs = opendatabase("YourDBwithUserList"'Path and file name
Set rst = dbs.openrecordset("YOurUserListtable"
With rst
.movelast
.movefirst
do while not .eof
strRecep = rst.fields("FieldwithEmailAddress".value
ActiveWorkbook.SendMail recipients:=strRecep
.movenext
loop
set rst = nothing
set dbs = nothing
End Sub Tyrone Lumley
augerinn@gte.net
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.