Use DoCmd.SendObject to send Select Query

G

GVR_Mike

Is this possible? Here is my code but it does nothing at all:

DoCmd.SendObject acSendQuery, "QueryName", acFormatXLS,
"[email protected]", , , "Subject", "Some Text in email message.", False

This works when I make a table and acSendTable, but it doesn't do
anything when it's a select query, not even an error message. I'm
using Access 2000.

Thanks.
 
Top