+ Reply to Thread
Results 1 to 4 of 4

Need Help in Macro which sends sheets to their email ID

  1. #1
    Registered User
    Join Date
    06-19-2020
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    1

    Red face Need Help in Macro which sends sheets to their email ID

    Hi Friends,

    I am seeking for help as i have one sheet which has sheets named on manager name and i want to send these sheets as attachment to managers as their email id is mentioned in EMail ID sheet.
    Example on a click of button Patrik sheet should send to patrik and his email address is in Emaild sheet. same way Jeff sheet should be send to jeff as his email id is mentioned in Email id sheet.

    Below is code which is i am using right know to send these sheet as attachment but every time i have to enter email address. which is time consuming specially when sheets are more than 50

    Please Login or Register  to view this content.

    Thanks for help
    KIM
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Need Help in Macro which sends sheets to their email ID

    Do the manager name(also on tab) and email have to be in the email spreadsheet, or can these two values be in the first two cells of each spreadsheet? Or will the tab name always equal the manager name and therefore mail tab has the list of each manager and email?
    Last edited by maniacb; 06-19-2020 at 06:10 PM. Reason: Corrections to response

  3. #3
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Need Help in Macro which sends sheets to their email ID

    Although I haven't received a response, I assume that the tab name always equals the manager name. With that in mind, I made the following changes to code, but now the new workbook does not contain the information from each manager. I need a real GURU to jump in here and finish this off. Please.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Need Help in Macro which sends sheets to their email ID

    Kim01, I believe the code will now address your requirements. Please note that you have to be very careful to align the tab names and their spelling with the email list on the "EMAIL ID" sheet. As an example, " Kelly" had a leading blank space and would not match the email list. I will update with other notes as they come to mind.
    You can execute with the command button on the Email ID page.
    Please Login or Register  to view this content.
    After you test the code, remove the apostrophe from in front of the .send line and place it on the .Display line so that emails are sent without intervention.
    Attached Files Attached Files
    Last edited by maniacb; 06-22-2020 at 02:04 PM. Reason: Corrections to response

+ 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. Hi All
    By KIM01 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 06-19-2020, 05:18 PM
  2. [SOLVED] macro which sends email with attachment
    By robo_kk in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-30-2017, 07:21 AM
  3. macro that sends email
    By rhndrixxxx in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-04-2015, 04:42 PM
  4. Macro that sends a formatted email from Excel
    By suzannahdove in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-27-2014, 03:41 PM
  5. HELP! Need help with macro that automatically sends email when...
    By KngCharming in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-28-2013, 01:01 PM
  6. Macro that sends email automatically once a week?
    By GTfan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-27-2012, 02:44 PM
  7. A macro that looks up a email from sheet2 and sends email
    By AdderLee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-10-2012, 02:24 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