passing data to email using hyperlink

fqb34r

Board Regular
Joined
Nov 28, 2005
Messages
71
Hi

i have been playing with opening an e-mail using a hyperlink and incertingdata but have got stuck this is were i am at

=HYPERLINK("mailto:someone@blueyonder.co.uk?SUBJECT=referal for " & C1 & C2,"send")

two things i need to do

1 i want a space between the first and second name in the subject bare (c1 & c2)

2 i want to put text in the body of the email i can do it with out c1 and c2 but not with

can anyone help

kevin
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hi,

I found an example and it works if I enter data in the relevant cells
but I can't seem to get the syntax right using your data.

Apparently for any field after ?Subject you use & instead of ?
Post back if you figure it out!

Code:
=HYPERLINK(CONCATENATE("mailto:",A1,"?subject=",B1,"&body=",C1),"Send ")
 
Upvote 0
Ok think I cracked it: Body of the mail I put in C3

Code:
=HYPERLINK(CONCATENATE("mailto:someone@blueyonder.co.uk?SUBJECT=referal for "&C1 & " " & C2,"&BODY=",C3), "send")
 
Upvote 0
thanks had to make some small changes but turns out to be better and got it all working

kevin
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

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