Email Data

Parra

Well-known Member
Joined
Feb 21, 2002
Messages
752
I created a simple data entry form, for a contact and address.

What I would like to do is to email the contact and address that is on the screen to a particular person.

I know I can create a command button to email a report, but how would I create a command button to email the active record with headers?

Thanks
Parra o_O
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Come on, someone should have an idea of what to do.

From the form view, get the data and add it to the body of an email.

Parra :rolleyes: :rolleyes: :rolleyes:
 
Upvote 0
OK, I created a report from a query and added a command button to the form, so that it creates a report from the active screen.

Now I know that instead of previewing the report, I can email it.

Any suggestions on instead of emailing it as an attachment, I can email it in the body of the email???

Also, what about, already selecting, who the email will be sent too??

Please help.
 
Upvote 0
Look up Docmd.SendObject. You can put whatever you want in the To: Subject:, and in the message body...
 
Upvote 0

Forum statistics

Threads
1,221,544
Messages
6,160,431
Members
451,646
Latest member
mmix803

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top