+ Reply to Thread
Results 1 to 3 of 3

if/then challenge

  1. #1
    Registered User
    Join Date
    11-05-2009
    Location
    Tennessee
    MS-Off Ver
    Excel 2007
    Posts
    12

    if/then challenge

    In my worksheet, I have a drop-down list of names in J11. Hidden in the worksheet with the names for the drop-down is the email address for each name in an adjacent cell (e.g. A1="Name1"; B1="Name1email"). When "Name1" is selected from the drop-down list, I need "Name1email" to be inserted in another cell. I will then use "Name1email" in my OutMail subroutine to email the sheet.

    How can I do this?
    Last edited by matt5596; 02-04-2014 at 01:05 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: if/then challenge

    Take a look at using the VLOOKUP() function, based on results of the DD
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-05-2009
    Location
    Tennessee
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: if/then challenge

    Oh my. I was so buried in VBA I didn't even think about that. thanks.

+ 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. New SUM challenge
    By martynonline in forum Excel General
    Replies: 7
    Last Post: 03-24-2008, 08:10 AM
  2. Who's up for a challenge!!
    By Altec101 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-19-2006, 11:34 AM
  3. A Challenge
    By Jazzer in forum Excel Formulas & Functions
    Replies: 36
    Last Post: 09-06-2005, 12:05 PM
  4. [SOLVED] A Challenge
    By mjones in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-28-2005, 04:54 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