+ Reply to Thread
Results 1 to 2 of 2

Use VLOOKUP in VBA to Populate Email Addresses

  1. #1
    Registered User
    Join Date
    08-20-2021
    Location
    Kansas, USA
    MS-Off Ver
    Version2102(Build 13801.20864 Click-to Run)
    Posts
    1

    Use VLOOKUP in VBA to Populate Email Addresses

    Hey all,

    I have a workbook that populates one sheet based on who needs informed of a change in company policy. I need to create a module that looks at each of the populated names and refers back to a table to pull email addresses. I cannot do this in a formula because the list is too long. Any thoughts?

    Here is the very long formula I tried that did not work. It also has the issue of not accounting for blanks if there are less people being informed

    =HYPERLINK("mailto:"&VLOOKUP(A40,RACI,3,0)&","&VLOOKUP(A41,RACI,3,0)&","&VLOOKUP(A42,RACI,3,0)&","&VLOOKUP(A43,RACI,3,0)&","&VLOOKUP(A44,RACI,3,0)&","&VLOOKUP(A45,RACI,3,0)&","&VLOOKUP(A46,RACI,3,0)&","&VLOOKUP(A47,RACI,3,0)&","&VLOOKUP(A48,RACI,3,0)&","&VLOOKUP(A49,RACI,3,0)&","&VLOOKUP(A50,RACI,3,0)&","&VLOOKUP(A51,RACI,3,0)&","&VLOOKUP(A52,RACI,3,0)&","&VLOOKUP(A53,RACI,3,0)&","&VLOOKUP(A54,RACI,3,0)&","&VLOOKUP(A55,RACI,3,0),Email to MOC Group)

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,210

    Re: Use VLOOKUP in VBA to Populate Email Addresses

    Hi dwinter95

    Welcome to the forum...Please be so kind and upload a sample file representing actual file setup and explain in detail what you want to achieve...See Top Yellow Banner...
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

+ 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. Automatic Outlook email to different email addresses when review date is due
    By Snow6614 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2020, 01:36 PM
  2. Vlookup table to find email addresses
    By colin7 in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 09-30-2019, 05:01 AM
  3. [SOLVED] Is there a formula to populate email addresses from existing data
    By CherryM2015 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-27-2015, 03:27 AM
  4. Replies: 1
    Last Post: 09-09-2013, 03:46 PM
  5. email excel file or worksheet as an attachment to multiple email addresses
    By jgeagle5 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-16-2009, 03:40 PM
  6. can I copy a column of email addresses, paste into email address?
    By Lizizfree in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 07-20-2006, 05:05 PM
  7. [SOLVED] vlookup and email addresses
    By youth in forum Excel General
    Replies: 4
    Last Post: 10-25-2005, 02:05 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