Export File to excel then attach to an email

GarageFlower

Registered User.
Local time
Today, 18:46
Joined
May 20, 2004
Messages
108
I have searched for this and have not come up with an answer as yet.

I have query that is accessed by entering criteria in a text box and then the user can click a button which will use the criteria entered in the query and then export it to an excel file.

Is there any way i can get the option to export the file and then open up a new email and attach the excel file
 
DoCmd.SendObject is what you need. The VBA help will tell you how to use it.
 

Users who are viewing this thread

Back
Top Bottom