Hyperlink Mailto with If and OR and Today() Functions

evgarcia29

New Member
Joined
Apr 9, 2018
Messages
1
Hi Everyone!

I know I'm close but I've hit a brick wall. I have a form where users fill it out and submit via email. There is a Hyperlink Mailto cell (O12:V15) that I want them to click and it generate an email with proper subject depending on cells within the form. Here's what I have already:

=IF(OR(I8="Equipment Revision", I8="Dates Revision", I8= "Equipment & Dates Revision", I8= "Cancellation Revision"),HYPERLINK("mailto:"&Q11&"?subject="&TEXT(C9,"mm/dd")&" - "&TEXT(C12,"mm/dd")&" | Revised Equipment Request | "&K7&" | "&I6&"&body="&P17,"CLICK HERE TO GENERATE EQUIPMENT REQUEST EMAIL"),HYPERLINK("mailto:"&Q11&"?subject="&TEXT(C9,"mm/dd")&" - "&TEXT(C12,"mm/dd")&" | Equipment Request | "&K7&" | "&I6&"&body="&P17,"CLICK HERE TO GENERATE EQUIPMENT REQUEST EMAIL"))

I want to add the ability to change the Subject to read: "Pop Up Equipment Request" if the delivery date (C9) equals the date of submission.

I think the TODAY() is throwing me off. Any help is much appreciated! :)
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,215,745
Messages
6,126,634
Members
449,324
Latest member
AmirMalik

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