Solved

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

Posted on 2013-06-23
3
330 Views
Last Modified: 2013-06-24
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
Comment
Question by:sydneyguy
  • 2
3 Comments
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 39270813
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
 

Author Closing Comment

by:sydneyguy
ID: 39270868
thanks for the help is up and running
0
 
LVL 76

Expert Comment

by:David Lee
ID: 39270892
You're welcome!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Read this checklist to learn more about the 15 things you should never include in an email signature.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now