Calculated Hyperlink - Subject not working

melodramatic

Board Regular
Joined
Apr 28, 2003
Messages
156
I have created a calculated hyperlink in my restaurant schedule, that by simply clicking the name on the calendar, will send that restaurant a notice that they're on next week's list. I had it working last week, but like an idiot protected the sheet and can't get what I thought I used as a password to work, so I'm having to re-build the calc on a new sheet.

Here's my calculation (note that D6 is the date line for this calendar entry):

Code:
=HYPERLINK("mailto:" & VLOOKUP(D7,Table4[[Restaurant]:[Charge Notes]],6,FALSE) &"?"
&"&subject="&"Lunch Delivery – Kira and Co."
&"&body="&CONCATENATE("Giving you a head's up that we will be making a lunch delivery order on ",TEXT(D6,"ddd, mmm d"),". Thank you!"),"email Advance Notice")

And what I'm getting is perfect - except that the subject line is blank.

I know it's prolly just a simple goof in there - and extra or missing "&", but for the life of me I can't find it.

Help?



Capture.PNG
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

melodramatic

Board Regular
Joined
Apr 28, 2003
Messages
156
OK, I found the error:

=HYPERLINK("mailto:" & VLOOKUP(D7,Table4[[Restaurant]:[Charge Notes]],6,FALSE)
&"?"&"&subject="&"Lunch Delivery – Kira and Co."

SHOULD BE

=HYPERLINK("mailto:" & VLOOKUP(D7,Table4[[Restaurant]:[Charge Notes]],6,FALSE)
&"?subject="&"Lunch Delivery – Kira and Co."

I had an extra couple of ampersands in there.
 

Forum statistics

Threads
1,144,671
Messages
5,725,690
Members
422,635
Latest member
crisis

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
Top