Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA code - From Access , Export query results into excel, then Email

Status
Not open for further replies.

Hacktastic

Technical User
Feb 27, 2007
54
US
Hi

I have most of this automated so I just need the sniplets of code.

1) code that runs a particular query and exports it in excel
2) code that then attaches that excel spreadsheet into a outlook email.

Has anyone done this before?
 
And what have you tried so far ?
Have a look at the DoCmd.TransferSpreadsheet method.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Both items have been covered in this forum. There are FAQs on controlling outlook from other office apps. Try searching the forum and looking at the FAQs

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top