I want to create a command button that when it is clicked it first runs my make query. Then brings up Outlook with that table as an attachment so that my user can enter the appropriate email addresses and send the email. Anyone have any ideas????
create a form with a text box and a command button
in the command button on click event
docmd.openquery "yourmaketablequery"
docmd.sendobject "tablename" ,acformatxls,me.textbox
enter a emailaddress in the text box and your table will sent as a excell file to email address of text box
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.