?
Solved

VBA Codes required to send mail from excel via Outlook as well as ThunderBird

Posted on 2012-04-02
3
Medium Priority
?
475 Views
Last Modified: 2012-05-21
Dear Experts,

I want VBA codes to send the mail from Excel file to predefined recipients . The excel file will be attached to mail.

As some of our yours are using Outlook & others are using ThunderBird hence codes shall work in both.

Please suggest.

Thanks in advance.

Nilesh.
0
Comment
Question by:tnilesh2
[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 59

Expert Comment

by:Chris Bottomley
ID: 37800033
I suggest code to send using the default mail client ... See www.rondebruin.nl/cdo.htm

Chris
0
 

Author Comment

by:tnilesh2
ID: 37800387
Hi Chris,
Thanks for looking into,
I already checked the link http://www.rondebruin.nl/cdo.htm.

But it does not talks about the mail merge using Thunderbird.

Now to simplify I decided to put to command buttons, one for outlook & another is for Thunderbird.

Can you please suggest codes for attaching the excel file in Thunderbird mail message.

Regards,
Nilesh.
0
 
LVL 59

Accepted Solution

by:
Chris Bottomley earned 2000 total points
ID: 37800533
CEO uses the default mail client and can in addition be set to use the mail server so in what way does it not work?

If you explicitly want to mail merge then you will need to loop through the recipients in vba sending each separately as processed in the loop.

Chris
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

801 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