Need some help figuring out how to adapt the following code to keep To: blank and add email addresses to Bcc: instead....
Private Sub Command432_Click()
Dim strHighAddress As String
Dim strResetnow As String
strHighAddress1 = Concatenate("SELECT Email1 FROM CONTACTS WHERE GroupEmail = True", ";")
strHighAddress2 = Concatenate("SELECT Email2 FROM CONTACTS WHERE GroupEmail = True", ";")
strResetnow = "Update CONTACTS SET GroupEmail = False;"
DoCmd.SetWarnings False
Application.FollowHyperlink "mailto:" & "" & strHighAddress1 & "" & "" & strHighAddress2 & ""
DoCmd.RunSQL strResetnow
DoCmd.SetWarnings False
Me!CONTACTS.Requery
End Sub
Private Sub Command432_Click()
Dim strHighAddress As String
Dim strResetnow As String
strHighAddress1 = Concatenate("SELECT Email1 FROM CONTACTS WHERE GroupEmail = True", ";")
strHighAddress2 = Concatenate("SELECT Email2 FROM CONTACTS WHERE GroupEmail = True", ";")
strResetnow = "Update CONTACTS SET GroupEmail = False;"
DoCmd.SetWarnings False
Application.FollowHyperlink "mailto:" & "" & strHighAddress1 & "" & "" & strHighAddress2 & ""
DoCmd.RunSQL strResetnow
DoCmd.SetWarnings False
Me!CONTACTS.Requery
End Sub