+ Reply to Thread
Results 1 to 14 of 14

link drop down to specific email address in excel

  1. #1
    Registered User
    Join Date
    12-13-2018
    Location
    North Ayrshire,Scotland
    MS-Off Ver
    office 2016
    Posts
    13

    Post link drop down to specific email address in excel

    I have 3 different options in the Column 'Actions' as a drop down

    option 1 go to persons email
    options 2 go to persons email
    option 3 go to that persons email

    depending on the option selected I would like the link to go to outlook and send that person an email

    any help appreciated

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,020

    Re: link drop down to specific email address in excel

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

  3. #3
    Registered User
    Join Date
    12-13-2018
    Location
    North Ayrshire,Scotland
    MS-Off Ver
    office 2016
    Posts
    13

    Thumbs up Re: link drop down to specific email address in excel

    Great amazing , thank you !

    I am creating a spreadsheet that requires the user to select the appropriate email from the drop down under the specific name
    The sheet may have up to 30 rows with names and details on each row

    EG...When the user selects the email address drop down under bob smith , the email window pop up needs to include his name , employer and still to complete(rows B, C & E)

    So the sheet could have several names every week being emailed to either email address 1, 2, or 3 and needs to include row B, C & E of that person.

    If its too tricky to do this I can just have one email address in column D next to every name but the email needs to be send to that one person with the selected name and the contents of the individual (rows B, C & E)

    hope that makes sense
    Attached Files Attached Files

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,020

    Re: link drop down to specific email address in excel

    .
    Where are you wanting the information in B, C & E to populate ? In the email itself ? If so, where in the email ?

    If somewhere else please specify.

  5. #5
    Registered User
    Join Date
    12-13-2018
    Location
    North Ayrshire,Scotland
    MS-Off Ver
    office 2016
    Posts
    13

    Re: link drop down to specific email address in excel

    in the main body of the email

  6. #6
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,020

    Re: link drop down to specific email address in excel

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

  7. #7
    Registered User
    Join Date
    12-13-2018
    Location
    North Ayrshire,Scotland
    MS-Off Ver
    office 2016
    Posts
    13

    Re: link drop down to specific email address in excel

    Impressed!
    Only a small thing though when I choose for example bob and specific email I only want B,C & E of Bobs line not the other entries.
    Then i may go the next line Paige and choose a different email to just email her line of text only and so on.

  8. #8
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,020

    Re: link drop down to specific email address in excel

    .
    HUMBERT:

    Here is the updated macro :

    Please Login or Register  to view this content.
    Also, to make it easier for the user to mark which names will be sent in the email, I added another macro in the Sheet1 module that allows you to double-click the cell in Col A adjacent to the employee name to be emailed.
    Double-clicking places a check mark in the cell. Double-clicking again, removes the check mark.

    Also, note that this new macro utilizes the cells in AA1:AC1 as a temporary holding area for the data to be pasted into the email body. Those cells must not be used for any other purpose. If this poses
    a problem for your project we can move these temporary holding cells to another location.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    12-13-2018
    Location
    North Ayrshire,Scotland
    MS-Off Ver
    office 2016
    Posts
    13

    Re: link drop down to specific email address in excel

    great many thanks for all your help, this will help me a great deal!
    is it easy enough to update/run a macro to extend row numbers more or add or change the subject of the email I may do this in the future?

  10. #10
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,020

    Re: link drop down to specific email address in excel

    .
    The macro is presently designed to check rows A4:A100 ... or 96 entries. If you desire to have additional names,
    edit this line :

    Please Login or Register  to view this content.
    Change the A100 to the new max # rows. Ex: ("A4:A350") . This would allow you to have entries from row 4 to row 350.


    To change the subject, you will edit this line of code :

    Please Login or Register  to view this content.
    Change "Test Subject" to your new subject line: "This Is My New Subject Line"


    Glad to help.

  11. #11
    Registered User
    Join Date
    12-13-2018
    Location
    North Ayrshire,Scotland
    MS-Off Ver
    office 2016
    Posts
    13

    Re: link drop down to specific email address in excel

    HI

    I'm very new to macros and I have tried to add this macro to my excel file
    , this gives me two errors as attached , I can see the text in the comments box holds in the temp area AA but is unable to populate the email itself
    , every week this will be ran with up to 30 names on a drop down list, and each have the option to possible send a separate email to one of the three email addresses with the contents of ROWS B, C & E
    The worksheet itself will be used for the whole year so could have over 300 rows.


    Is there any way to allow me to type in the boxes from column e, f, g and so on as it only takes this from entering the text on the formula bar(this maybe something simple sorry)

    I also have my example excel file too if you need this

    debug.jpg.pngruntime error.jpg.png

  12. #12
    Registered User
    Join Date
    12-13-2018
    Location
    North Ayrshire,Scotland
    MS-Off Ver
    office 2016
    Posts
    13

    Re: link drop down to specific email address in excel

    ignore last one, I had called my worksheet Sheet 1, with a space, this made all the difference

  13. #13
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,020

    Re: link drop down to specific email address in excel

    .
    If your questions have been answered, please mark the thread as solved.

    Merry Christmas !

  14. #14
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,020

    Re: link drop down to specific email address in excel

    .
    Final version :

    Please Login or Register  to view this content.

+ 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. auto email form excel imputting specific row data for each email address + add graph
    By macroconfused in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-23-2018, 01:59 AM
  2. [SOLVED] vba email send from excel - ignore second email address if "ENTER EMAIL ADDRESS"
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-28-2016, 07:22 AM
  3. Email range of text to specific email address
    By chaysp81 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-10-2016, 02:57 AM
  4. [SOLVED] Convert Email address in cell into a link
    By tiesto643 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-22-2014, 09:07 AM
  5. Excel to generate email to one (1) specific address based on specified date.
    By excelfanatek in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-03-2014, 04:07 PM
  6. Replies: 5
    Last Post: 03-16-2008, 11:39 PM
  7. macro to send excel sheet to specific email address
    By JonnieP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-27-2005, 06:10 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