Is a query like this Possible (1 Viewer)

MiscAlma

Registered User.
Local time
Today, 01:18
Joined
Jul 11, 2019
Messages
11
I want a button to be able to able to run 3 different queries (Already Done)

After that copy the tables and put the tables in a ms outlook email Ready to be send

is all this possible from 1 button?
 

MiscAlma

Registered User.
Local time
Today, 01:18
Joined
Jul 11, 2019
Messages
11
Thank you very much I found out about the email macro but I wanted the three reports to be send together!
 

Micron

AWF VIP
Local time
Today, 04:18
Joined
Oct 20, 2018
Messages
3,478
I want a button to be able to able to run 3 different queries (Already Done)
After that copy the tables and put the tables in a ms outlook email Ready to be send
You said nothing about a report. It sounded like you were going to run 3 action queries then send the tables with the changes.

I have no code handy for this, so the best I can do is offer at least 1 result from a 10 second search that has at least one method. Probably someone will chime in with their version, but there is ready made code at that link.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 04:18
Joined
Feb 19, 2002
Messages
43,213
You can do anything you want with code. Use three TransferText commands to export the three queries to separate sheets of the same Workbook. Then use the Output to email the spreadsheet you just created.
 

Users who are viewing this thread

Top Bottom