I'm trying to use ActiveWorkbook.Path and ActiveWorkbook.Name to send the excel workbook's file path to someone through email. I got it to work when I input the file path as a string, but for some reason it doesn't recognize the full path when I do it this way. I don't want to use a hard-coded file address in case someone moves it to a different folder. This is what I'm using in the .HTMLBody part of the code:
.HTMLBody = emailtext & "<p> </p>" & "<p><strong>Click this link to go to task verification worksheet: <A href=" & _
"" & ActiveWorkbook.Path & "\" & ActiveWorkbook.Name & "" & ">Verification Workbook</A></strong></p>"
The full path should be D:\Control Verification\WorkbookName.xlsm but when I try to click the link it's trying to access D:\Control. Thanks in advance for any help!