I want to add a criteria to the below code. Right now it is sending only to one recipient, which is fine. However, when a particular checkbox is checked, I want to also send to the department manager for that particular checkbox. So if ckbox1=True, then in addition send the email to: "jackdoe@yahoo.com".
Private Sub txtbccx_AfterUpdate()
If txtbccx = "Oranges" Then
[txtBCC] = "johndoe@yahoo.com"
End If
If txtbccx = "Peaches" Then
[txtBCC] = "suzyq@yahoo.com"
End If
End Sub
How would I put that additional criteria here?
Thanks in advance.
Private Sub txtbccx_AfterUpdate()
If txtbccx = "Oranges" Then
[txtBCC] = "johndoe@yahoo.com"
End If
If txtbccx = "Peaches" Then
[txtBCC] = "suzyq@yahoo.com"
End If
End Sub
How would I put that additional criteria here?
Thanks in advance.