beginner123
Registered User.
- Local time
- Today, 10:15
- Joined
- Apr 13, 2013
- Messages
- 44
Hi All,
Still learning slowly..
I am trying to test sending an email via
Private Sub CommandEmail_Click()
'DoCmd.SendObject _
' , _
' , _
' , _
' "test@test.com", _
' , _
' , _
' "Subject", _
' "Message", _
' False
This works.
If I then try and email a report HoursMonth
Private Sub CommandEmail_Click()
DoCmd.SendObject _
acSendReport, _
"HoursMonth", _
acFormatRTF, _
"tess@test.com", _
, _
, _
"Subject", _
"Message", _
False
I get the error the object doesn't contain the automation object me?
Therefore is this referring to it can't find the report?
The CommandEmail_Click()
is located on a form Hours
Any guidance appreciated.
Rob
Still learning slowly..
I am trying to test sending an email via
Private Sub CommandEmail_Click()
'DoCmd.SendObject _
' , _
' , _
' , _
' "test@test.com", _
' , _
' , _
' "Subject", _
' "Message", _
' False
This works.
If I then try and email a report HoursMonth
Private Sub CommandEmail_Click()
DoCmd.SendObject _
acSendReport, _
"HoursMonth", _
acFormatRTF, _
"tess@test.com", _
, _
, _
"Subject", _
"Message", _
False
I get the error the object doesn't contain the automation object me?
Therefore is this referring to it can't find the report?
The CommandEmail_Click()
is located on a form Hours
Any guidance appreciated.
Rob