+ Reply to Thread
Results 1 to 4 of 4

Macro to populate save & send email recipients using sheet names

  1. #1
    Forum Contributor
    Join Date
    10-08-2013
    Location
    London
    MS-Off Ver
    365
    Posts
    136

    Macro to populate save & send email recipients using sheet names

    Hi All,

    I have a transaction listings workbook with multiple sheets that is created daily. The first sheet named “Master” is a constant while consecutive sheets are added based on which staff members made transactions that day and named using the email prefix for each users email address.

    E.g. If a users email address is jbloggs@madeupmail.com – the sheet would be named “jbloggs”.

    The names and quantities of users is variable from day to day. At the end of each day I would like to use a macro to save and send the workbook, naming it as today's date, saving to a specific directory location with a pre-determined email message that I have the option to edit before sending . The recipients would be populated from the names of the sheets within the workbook.

    Many thanks in advance for any help with this.

    Regards,
    Dave

  2. #2
    Registered User
    Join Date
    09-06-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Macro to populate save & send email recipients using sheet names

    See http://www.rondebruin.nl

    Regards...Cl.Klink

  3. #3
    Forum Contributor
    Join Date
    10-08-2013
    Location
    London
    MS-Off Ver
    365
    Posts
    136

    Re: Macro to populate save & send email recipients using sheet names

    Hi Cl.Klink,

    Firstly, sorry for the extremely late reply and secondly, many thanks for the link. The Ron de Bruin site is extremely useful (added to favourites) but I could not find anything that would help me directly with my requirements. After trawling everywhere for a solution I've decided to tackle it from a different angle.

    Again, many thanks for your assistance here!

    Regards,
    Dave

  4. #4
    Forum Contributor
    Join Date
    10-08-2013
    Location
    London
    MS-Off Ver
    365
    Posts
    136

    Re: Macro to populate save & send email recipients using sheet names

    In the end this was resolved by using the transaction listing names in the master sheet where data for the other sheet names was taken from, removed the duplicates, converted the names to email addresses and then included the email addresses in a range array.

    Thanks those that contributed.

    Regards,
    Dave C

+ 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. [SOLVED] How to send Lotus email with VBA to more recipients and also to more copy recipients
    By Sachy in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 03-20-2013, 03:23 PM
  2. Macro to send Email to Unique Recipients
    By jhuang in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-17-2012, 02:37 AM
  3. Macro to send email to V lookup recipients for selected row
    By tandridge in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-23-2011, 08:44 AM
  4. Send email to multiple recipients
    By Court16 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2009, 05:20 PM
  5. send excel sheet to email recipients contained on the sheet
    By ghynes in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-29-2007, 11:20 AM

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