Calculated Hyperlink - Subject not working

melodramatic

Board Regular
Joined
Apr 28, 2003
Messages
180
Office Version
  1. 365
Platform
  1. Windows
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

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
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.
 
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,585
Members
448,972
Latest member
Shantanu2024

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