Email hyperlink

Gavin23

New Member
Joined
Jul 10, 2014
Messages
18
Hi there
I'm having a small issue with my email hyperlink in that what I have works correctly, only when there is no "&" symbol in the cell that the link is referring to. If there is an "&" symbol in the middle of the string, the hyperlink only extracts the part prior to this.
Is there perhaps a work around ? I can replace the "&" with a "_" (which then works 100%) but this doesn't always apply to the text I'm extracting...

=HYPERLINK("mailto:admin@gmail.com?Subject=Follow%20up: "&CONCATENATE([@[Opportunity Name]]," - Last Comment: ",[@Comments]),"mail")
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
You need to url encode & character in the URL - replacing it with %26.
Something like this:

Code:
=HYPERLINK("mailto:admin@gmail.com?Subject=Follow%20up: "&SUBSTITUTE(CONCATENATE([@[Opportunity Name]]," - Last Comment: ",[@Comments]), "&", "%26"),"mail")
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,844
Members
449,193
Latest member
MikeVol

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