Help with code for SendObject?

J

jo

Hi I would like to send email as the report has been opened. Maybe by on the
On Open event of the report???
I have tried the following code but it comes up with errors such as "Complie
Error, Invalid use of property" it highlights "acSendReport". Can you help
please?
Jo


Private Sub Report_Open(Cancel As Integer)
DoCmd.SendObject
acSendReport , "Overdue", , "[email protected]", , , "Overdue
Gauges!!"

End Sub
 
J

jo

Hi Jill thaks for the reply I tried acReport but it is still coming up as a
Compile error? Have any more ideas please?
Thanks
Jo
 
Top