Error in Send Object code...

S

Supynuts

I am trying to send an email when a user clicks on a button on my form. this
is the code behind it; however, I am getting an error message that says
"object does not support this property or method" It was working fine before
I added two new controls in the CC field (Me.RSM_NYM & ";" & Me.RSM_Adm) any
ideas?

Private Sub Ctl15DayEmailBTA_Click()

Dim strMessage As String
Dim strSubject As String

strSubject = "NY Metro On-Boarding Plan - Day 15"
strMessage = Me.Recruit_Name
strCC = Me.EmailBOM & ";" & Me.RSM_NYM & ";" & Me.RSM_Adm

DoCmd.SendObject , , , Me.BTA_Email, strCC, , strSubject, strMessage, True
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top