Making an Excel file into a link in VBA.
Posted
by Edmond
on Stack Overflow
See other posts from Stack Overflow
or by Edmond
Published on 2010-05-12T20:05:07Z
Indexed on
2010/05/12
23:54 UTC
Read the original article
Hit count: 286
vba
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
© Stack Overflow or respective owner