Make sure you put an associated email address in the user table, and then you can call the list of email addresses for each user from a query and concatenate them into a single string, then just put the string in the BCC line.
Here are some sample functions I use in my code that work similarly
For these, I first populate a ListBox with a Query of email addresses.
Code:
Private Function FetchCustomers(sourceBox As ListBox) As String
If sourceBox.ListCount > 0 Then
Dim emails As String
Dim i As Integer
For i = 0 To sourceBox.ListCount
emails = emails & "; " & sourceBox.ItemData(i)
Next
FetchCustomers = emails
End If
End Function
This returns a String which contains all the entries in the listbox, delimited by a semicolon (
With that string you could create an outlook item and open it or send it to those emails like so
Code:
Dim oApplication As Outlook.Application
Dim oItem As Outlook.MailItem
Dim oAccount As Outlook.Accounts
Dim signature As String
Private Sub SendMail()
Set oApplication = New Outlook.Application
Set oItem = oApplication.CreateItemFromTemplate("String Path to an HTML Template for your Email")
oItem.BCC = FetchCustomers(lstCustomers)
oItem.Send
End Sub
Or you could use oItem.Display to have it pop the email open in outlook so you can validate it before sending.