Solved

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

Posted on 2013-06-23
3
334 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

729 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