+ Reply to Thread
Results 1 to 3 of 3

Email filtered data to list of people

  1. #1
    Registered User
    Join Date
    09-27-2010
    Location
    Christchurch, NZ
    MS-Off Ver
    Excel 2003
    Posts
    23

    Email filtered data to list of people

    Hi all,

    With my basic VBA skills and recording, I have managed to write this, that essentially auto filters information into another sheet, but try as I might, I cannot get this to bring up an Outlook code that works by putting this content into the body.
    I am trying to do it so that copy's and pastes all visible content from the new sheet.

    Ideally what I need it to do is complete the autofilter, email the content and loop onto the next person in the list.
    I know the coding is messy, but any help would really be appreciated.

    Please Login or Register  to view this content.
    Thanks, Dan
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-27-2010
    Location
    Christchurch, NZ
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: Email filtered data to list of people

    **UPDATE**

    Hi all,

    I have changed and updated this coding slightly to the following;

    Please Login or Register  to view this content.
    This brings up the email at the end how I would like it. Great, however I need it to now go through the remaining list of people on Worksheet CP through until the end of the list in Column A.

    Many thanks,
    Dan

  3. #3
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: Email filtered data to list of people

    Hi..

    This will do the following:

    1. Find each Unique value in CP Sheet (A5 to LastRow).
    2. For each of these names..
    * Autofilter your 2 columns
    * Create a table of the Autofiltered data
    * Find Email address via Vlookup
    * Insert table into the Body of the email


    Note: Change .Display to .Send if you want the emails to be sent without previewing them (good idea when testing)..

    In the attached file.. press the "Send" button on the second sheet...


    Please Login or Register  to view this content.
    Note: This method of sending the range works well for a contiguous range.. (hence why it was copied to a temp sheet)..

    Learnt it from snb..
    http://www.snb-vba.eu/index_en.html
    Attached Files Attached Files

+ 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. Create Lotus Notes Draft email from filtered or unfiltered List
    By Jimmy0306 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-07-2009, 09:03 PM
  2. Auto notify a list of people via email when excel file is closed
    By Melanie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-11-2006, 11:10 AM
  3. Email only the filtered data
    By Ron de Bruin in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-06-2005, 06:05 AM
  4. [SOLVED] Email only the filtered data
    By stefani13 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  5. [SOLVED] Email only the filtered data
    By stefani13 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-15-2005, 06:05 PM

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