• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 346
  • Last Modified:

building an email in outlook with test and some images in vba

have the code to set up an email using code but need to place in the mail a couple of images the code i am using for the text is below but i need to know how to place the image in there for the http://?????.com/image name and the link sitting on the image
any help would be appreciated  

  topline = topline + "We know how important"
    topline = topline + Chr(13) + Chr(10) + Chr(10)
    topline = topline + "Whether you require"
    topline = topline + Chr(13) + Chr(10) + Chr(10)
    topline = topline + "Please let us know details

in here i want to place some images
0
sydneyguy
Asked:
sydneyguy
  • 2
1 Solution
 
David LeeCommented:
Hi, sydneyguy.

To add an image include something like

topline = topline & "<a href=""http://company.com/page""><img src=""http://company.com/image.jpg""></a><br>"

Open in new window

0
 
sydneyguyAuthor Commented:
thanks for the help is up and running
0
 
David LeeCommented:
You're welcome!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now