tags:

views:

18

answers:

1

Mvalue = MonthName(5, True) fileL = \bobby\outside\"

myFile = fileL & Mvalue & Right(Year(Date), 2) & "\Goodbye - " & myfdate & ".xls"

Set omail = CreateItem(olMailItem)

With omail

    .Subject = "Hello"
    .BodyFormat = olFormatHTML
    .HTMLBody = myFile

How do I make the.HTMLBody = myFile, into a link within the email that will be sent out

A: 

You need an html link:

.HTMLBody = "<a href='" & myFile & "'>Linky</a>"
BenV