HTML E-mail using vba

graviz

Registered User.
Local time
Today, 13:02
Joined
Aug 4, 2009
Messages
167
I'm having trouble with sending a link in an e-mail using vba. My code is below:

.HTMLBody = .HTMLBody & "<a href=“file:///\\Mer2-corpfs1\dnsc\Resource Management\Cancel Audits\OE”>OE</a>"

In the e-mail it looks like a link but when I click on it it pulls up a file explorer and states in the title "Locate Link Browser"

Any idea why it's not just pulling up the folder?
 
I'm having trouble with sending a link in an e-mail using vba. My code is below:

.HTMLBody = .HTMLBody & "<a href=“file:///\\Mer2-corpfs1\dnsc\Resource Management\Cancel Audits\OE”>OE</a>"

In the e-mail it looks like a link but when I click on it it pulls up a file explorer and states in the title "Locate Link Browser"

Any idea why it's not just pulling up the folder?


I just figured it out. It's supposed to have double quotes instead of single quotes.
 

Users who are viewing this thread

Back
Top Bottom