Display file path as hyper link in outlook email body

  • Thread starter Thread starter sam
  • Start date Start date
S

sam

How can I display this as hyper link in my email body?

"c:\My Documents\" & Me.FileName.value

I am not able to display the whole thing as a link as there are spaces between
"My" and "Documents"

I have posted this earlier and they suggested me to user html body, But can
someone point where to find info on html body?

Note: "c:\My Documents\" & Me.FileName.value - is a location where the file
is saved with the "FileName.value" field that is on the userform.

THanks in advance
 
Have you try this

.Body = "file://Yourcomputer/YourFolder/Week2.xls"

If there are spaces use %20
.Body = "file://Yourcomputer/YourFolder/Week%202.xls"
 
Back
Top