It's been a while since I've had to post a question. Was doing good for a while. Here's the situation. From Access, I'm creating an email to send. The email has 3 hyperlinks. I can hyperlink them using .HTMLBody but since the string as a space in it, I can't get the hyperlink to navigate to the right path. The links bring them to a share drive folder which contains multiple documents. Here's some of what I got so far:
*************CODE START******************
str = str & "<html>"
str = str & "<head></head><br>"
str = str & "<body><br>"
str = str & "<br>STUFF<br>"
str = str & "<A href='\\server\path\folder>'>foldername</A><br>"
str = str & "<br>MORE STUFF.<br>"
str = str & "<br></body><br>"
str = str & "</html>"
**************CODE END***************
I've even tried using "file///". Unfortunately, changing the folder name isn't an option for me or I would have done that and been done with this by now. Again, the email 'looks' fine but the hyperlink isn't right. Thanks again.
*************CODE START******************
str = str & "<html>"
str = str & "<head></head><br>"
str = str & "<body><br>"
str = str & "<br>STUFF<br>"
str = str & "<A href='\\server\path\folder>'>foldername</A><br>"
str = str & "<br>MORE STUFF.<br>"
str = str & "<br></body><br>"
str = str & "</html>"
**************CODE END***************
I've even tried using "file///". Unfortunately, changing the folder name isn't an option for me or I would have done that and been done with this by now. Again, the email 'looks' fine but the hyperlink isn't right. Thanks again.