Help with code for SendObject?

  • Thread starter Thread starter jo
  • Start date Start date
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", , "(e-mail address removed)", , , "Overdue
Gauges!!"

End Sub
 
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
 
Back
Top