Solved

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

Posted on 2013-06-23
3
331 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

816 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

9 Experts available now in Live!

Get 1:1 Help Now