Problem with Concatenating automated email

ardykav

Board Regular
Joined
Oct 18, 2015
Messages
172
Office Version
  1. 365
Platform
  1. Windows
Hi,

Got this wonderful link online which allows me to email out based off certain criteria in the workbook by clicking on a link. However ive noticed when a part of the subject line (Cell B4 in this case) has more than two words it returns an error value.

Anyone got any ideas where I am going wrong here?

=HYPERLINK(CONCATENATE("mailto:"&K4,"?subject=","Reminder-",$B$1,B4,"&Body=","Dear ",J4,"%0D%0A %0D%0APlease send us ",B4," for the ",TEXT(E4,"dd/mm/yyyy"),"%0D%0A %0D%0AKind Regards,%0D%0AJoe Whitaker%0D%0A0412345678"),"Email this person now")

TIA
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
I'm not seeing that problem (using Excel 2013)
Any reason you are using $B$1,B4 and not B1,B4?

What exactly is in the cell? Is the content in B4 or is it a reference?
Try writing and using the subject content in another cell to see if that works. Don't copy.
 
Upvote 0
Yes, B1 is to be used the whole way down the sheet it is referencing a house address where as B4 are different things to be done in the house. It appears that if the things to be done has more than two words or special characters it errors
 
Upvote 0
I have isolated the issue and it is when B4 has 3 or more words or special characters like :. ) etc
 
Upvote 0
Apologies after further inspection its simply an issue with the total Character length of the concat. Anyone any ideas of how to get around this?
 
Upvote 0

Forum statistics

Threads
1,214,583
Messages
6,120,383
Members
448,955
Latest member
BatCoder

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