Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to write Body of an Email using VBA through Excel

Posted on 2011-02-21
1
Medium Priority
?
810 Views
Last Modified: 2012-05-11
I want to fill the Body of an New Email with the intended text using VBA through Excel

EX:

I want to Address as below in the EMail body,

Hi,

Below is the result of your Excel Query,



Regards,
Srikanthv2322


I want to fill this EMail at a click of Command Button in . Excel

PLease let me know the code for the above, also please let me know how to insert line breaks in the body of an EMail
0
Comment
Question by:srikanthv2322
1 Comment
 
LVL 13

Accepted Solution

by:
connectex earned 2000 total points
ID: 34948560
This site has lots of examples: http://www.rondebruin.nl/sendmail.htm
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
Today as you open your Outlook, you witness an error message: “Outlook is using an old copy of your Outlook Data File…”. Probably, Outlook is accessing an old OST file.
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

772 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