Email Command Button with Cell value in Subject Line?

jonbh10

New Member
Joined
Feb 26, 2010
Messages
19
Hi,

Sorry but I can't seem to get this to work? I wish to instead of having populated subject as per in " " below, I would like to populate the subject line of the email with a particular cell value?

My current code:

Private Sub Emailform_Click()
Application.Dialogs(xlDialogSendMail).Show "
jon@jon.com", "enter here"
End Sub


Thanks in advance
Jon
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
If I wanted to have different cells e.g. A1 and B35 both included within the subject line how should i write this?

Cheers
 
Upvote 0
Hi,

Can you please help with my query. I need a Button on the sheet will will check the mandatory cells (C12, C14, C16, C18) before emailing to info@abc.com and picking the Subject from cell C10.

I am not expert in excel. Please advise in step by step on which type of button to add (activeX or form). The code to be added in "ThisWorkBook" or in Sheet1.

Thanks in advance///
 
Upvote 0

Forum statistics

Threads
1,213,486
Messages
6,113,932
Members
448,533
Latest member
thietbibeboiwasaco

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