Macro Fun

evilradish

Registered User.
Local time
Today, 03:32
Joined
Jun 11, 2010
Messages
15
I am currently working on a macro that generates 5 reports. These reports are then emailed to a user.

If the report has no data then I want it to not be sent.

Could someone suggest a way of doing this in the macro?

Would appreciate any help or direction as this is my first week @ this job :)
 
Look into the SendObject method. It can be done easily using vba, DoCmd.SendObject. There's info about this in the help files (F1).

Welcome to AWF by the way :)
 
Look into the SendObject method. It can be done easily using vba, DoCmd.SendObject. There's info about this in the help files (F1).

Welcome to AWF by the way :)

Thanks for the tip. After a while of reading managed to fix this. docmd.sendobject worked great - 10 points to you ;)

Just thought I would put some closure on this post
 

Users who are viewing this thread

Back
Top Bottom