+ Reply to Thread
Results 1 to 3 of 3

Sending automated emails from excel using VBA

  1. #1
    Registered User
    Join Date
    06-29-2015
    Location
    Tallinn, Estonia
    MS-Off Ver
    Excel 2013
    Posts
    7

    Unhappy Sending automated emails from excel using VBA

    Hey all,

    So i am trying to send automatic emails using excel source information and VBA code. However I cannot seem to put it together. I searched this forum and found this http://www.excelforum.com/excel-prog...-in-range.html

    This kinda works, BUT for every line - which is not desirable. I do not want it to send email for every line i want to summarize it by email but - and send only like 15 emails instead of i.e 65 emails for every line.

    How can it be done, please help.

    My table looks like this:

    Period Number Provider Service Count Duration Total Email
    201504 31987 ETV Phone 12 23 23432 [email protected]
    201504 31987 ETV Phone 12 23 23432 [email protected]
    201504 31987 STV Phone 12 23 23432 [email protected]
    201504 31987 STV Phone 12 23 23432 [email protected]


    And code from the other thread looks like this.

    Please Login or Register  to view this content.
    End product should look like this:


    message TO [email protected]

    Hello,

    Here is the report:
    Period Number Provider Count Duration
    201504 31987 STV 12 23
    201504 31987 STV 12 23

    Best,
    Annux
    Last edited by annux3; 06-30-2015 at 07:30 AM. Reason: Solved

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Sending automated emails from excel using VBA

    Try this...

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    06-29-2015
    Location
    Tallinn, Estonia
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Sending automated emails from excel using VBA

    Oh wow! It actually worked just like I wanted!

    You are my savior.

    Many thanks!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sending Emails Using Excel & VBA
    By dthennessy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2014, 04:07 AM
  2. Automated Emails from Excel Pivot table
    By cicapopsi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2013, 05:49 AM
  3. [SOLVED] Sending Outlook emails from Excel; Limits to three emails only?
    By BPSJACK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-29-2013, 06:53 AM
  4. Is it possible to send automated emails from excel to outlook web app.
    By jayant24 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2013, 06:14 AM
  5. Sending macro emails using excel: Send emails with their passwords.
    By loveisblind in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2009, 03:16 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1