HI
I have the following VB code for my "mail Body" but VB wont accept any of the Mail body text (all red) keeps erroring with a compile error
I think its how Im starting or ending each line but I cant figure out how to fix the issue at all, Can anyone help?
I have the following VB code for my "mail Body" but VB wont accept any of the Mail body text (all red) keeps erroring with a compile error
VBA Code:
'Mail Body
strBody = "<BODY style = font-size:14pt; font-family:Arial>" & _
"Dear " & ActiveCell.Offset(0, 2).Value & _
"<br><br>I am pleased to update you that " & ActiveCell.Offset(0, 1).Value & " will be joining your team effective" _
& HireDate & " To make their onboarding process smooth and effective, please utilize the "https://xxxxxxxxxxxxxx/:b:/s/xxxxxxxxxxxxxxxxxxxxxxxxx/EQ_JtLEpoflGivhsvhgtgJEBXcjsmBwP2rhT06CzdFH3xw?e=ORyVCK""> Onboarding Checklist </a>" and "https://xxxxxxxxxxxxxxxxxxxm/:b:/s/xxxxxxxxxxxxxxxx/ESaLR9geS9ZOq3eKqq2XoTUBO0kvNMOkDibFLi7vJeiksg?e=rqDdQh ""> Onboarding Playbook </a>" & _ for managers. This will be helpful in creating a structure onboarding process for your new hire." & _
"<br><br>Studies show that a buddy system can greatly help a new team member settle into their role quickly and get familiar with team's processes and culture. I believe it would be beneficial for "& ActiveCell.Offset(0, 1).Value & " to have a dedicated buddy to guide them through any minor day to day operations questions they may have. This individual will be an experienced coworker who is well-versed into the culture of the organization. This relationship has the potential to instill a sense of belonging in the new employee and considerably speed up their process of becoming acclimated to the company." & _
"<br><br>Could you please let me know if there's a suitable team member who can be assigned as buddy for "& ActiveCell.Offset(0, 1).Value & _
"<br><br>Please also define your expectations and goals to the new hire within 7-10days of their joining. It is advised to set expectations like working hours, availability, proper protocol for meetings, Key Performance Indicators etc. at the very beginning." & _
"<br><br>Thank you for your help in this matter, let me know if you need any further information."
I think its how Im starting or ending each line but I cant figure out how to fix the issue at all, Can anyone help?