Hi,
I have been trying to use the MailItem propery to send an email to outlook 2010.
I have the following snipit of code -
The hyperlink is appearing in my email but it displays as - file:\\reese\data\FieldReports\OCG\Test\TAA\Current and links to \\reese\data\FieldReports\OCG\Test\TAA\Current
Does anyone know how I can remove the file: from the display link? If I remove it from my code the text appears but it is not a hyperlink.
Thanks!
I have been trying to use the MailItem propery to send an email to outlook 2010.
I have the following snipit of code -
Code:
MyMail.Body = MyBodyText
MyMail.BodyFormat = olFormatHTML
Hyperlink = MailList("Hyperlink")
MyMail.Body = Replace(MyMail.Body, "myid" & myID, "file:" & Hyperlink)
The hyperlink is appearing in my email but it displays as - file:\\reese\data\FieldReports\OCG\Test\TAA\Current and links to \\reese\data\FieldReports\OCG\Test\TAA\Current
Does anyone know how I can remove the file: from the display link? If I remove it from my code the text appears but it is not a hyperlink.
Thanks!