creating an e-mail from cells located in excel

Cablek

Board Regular
Joined
Nov 22, 2017
Messages
51
I would like to create a button to allow a sales person to send an e-mail to purchaser and populate the subject with fields withing the file..

so I have a sheet called Employees and in that sheet there is a table defined as "Purchasers" with names and e-mail addresses


Purchasers (cell C1)Email (cell D1)
name1 (Cell C2)Name1@xyz.com (cell D2)
Name2 (Cell C3)Name2@xyz.com (cell D3)
Name3 (Cell C4)Name3@xyz.com (cell D4)
Name4 (Cell C5)Name3@xyz.com (cell D5)

<tbody>
</tbody>

when "send request to purchaser is clicked on the Sales Request sheet I'd like it to pull up the names of the purchasers in outlook to be able to chose who to send it it

Also in the subject line I would like it to put the information from cells B3 C3 D3 and F5 also from the Sales Request sheet (e.g. Please see sales request for B3, C3 "rev" D3 for Qty F3

I know how to create the button but the VBA code is a bit much :(
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
I have a solution workbook to send you. Send me a message where to email it.
There is no Attach function here.
 
Upvote 0

Forum statistics

Threads
1,216,111
Messages
6,128,899
Members
449,477
Latest member
panjongshing

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