+ Reply to Thread
Results 1 to 4 of 4

Add ListBox Column values to Email To: field

  1. #1
    Registered User
    Join Date
    05-12-2020
    Location
    Wales
    MS-Off Ver
    365
    Posts
    82

    Add ListBox Column values to Email To: field

    In the attached Workbook I have a couple of ComboBoxes which a user will use to select a contact to email. The selections will appear in a ListBox below the ComboBoxes.

    The ListBox has 2 Columns - The 1st contains the contact Name; The 2nd their Email address.

    When the user clicks to send the email I would like to have the email addresses in the ListBox populate the To: field of the email.

    I have managed to get as far as passing Col1 Row1 from the ListBox over, but can't figure out how to pass the subsequent Row2... etc value over. I'm also not sure how to select the 2nd Column, hence at the moment I'm getting the contact Name rather than their Email - yes I could simply put the email address in Col1, and even their name in Col2, but I think it looks neater with their name appearing first.

    Would anyone be able to assist.

    Many thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,514

    Re: Add ListBox Column values to Email To: field

    Try adding the bits in red below to your existing code.

    Please Login or Register  to view this content.
    BSB

  3. #3
    Registered User
    Join Date
    05-12-2020
    Location
    Wales
    MS-Off Ver
    365
    Posts
    82

    Re: Add ListBox Column values to Email To: field

    Brilliant! Thank you.

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,514

    Re: Add ListBox Column values to Email To: field

    Glad I could help

    BSB

+ 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. Move a Column of 500 Email Addresses into BCC Field of an Email
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 44
    Last Post: 09-06-2005, 06:05 PM
  2. Move a Column of 500 Email Addresses into BCC Field of an Email
    By Mark in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  3. Move a Column of 500 Email Addresses into BCC Field of an Email
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 11:05 AM
  4. [SOLVED] Move a Column of 500 Email Addresses into BCC Field of an Email
    By Mark in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. [SOLVED] Move a Column of 500 Email Addresses into BCC Field of an Email
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 06:05 AM
  6. Move a Column of 500 Email Addresses into BCC Field of an Email
    By Mark in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  7. Move a Column of 500 Email Addresses into BCC Field of an Email
    By Mark in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  8. [SOLVED] Move a Column of 500 Email Addresses into BCC Field of an Email
    By Mark in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12: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