Adding multiple links in VBA

Posted by Edmond on Stack Overflow See other posts from Stack Overflow or by Edmond
Published on 2010-05-26T21:18:15Z Indexed on 2010/05/26 21:21 UTC
Read the original article Hit count: 266

Filed under:

When I try and create both of the files as links within the outlook email, only one of the files shows up as a link. How can I resolve this so both will show up as links.

Set omail = CreateItem(olMailItem)

    With omail

    .Subject = "Key Report"
    .BodyFormat = olFormatHTML
    .HTMLBody = "<a href ='" & fileL & "'>Key Report</a>"
    .HTMLBody = "<a href ='" & fileSat & "'>Key Report Saturday</a>"
    .To = [email protected]       
    .Display

    End With

© Stack Overflow or respective owner

Related posts about vba