+ Reply to Thread
Results 1 to 2 of 2

Input box to search column for value & generate email

  1. #1
    Registered User
    Join Date
    12-07-2012
    Location
    Colorado
    MS-Off Ver
    2010
    Posts
    17

    Input box to search column for value & generate email

    Hello all, I'm in need of an input box to search column B for the value entered. Once found, in the same row as the matching value mark column C with "Returned", column D with the date. Then if possible if it could ask where the part/parts are located and enter that value in column E. I eventually need this to then generate an email sending to multiple users saying "RGA (B-value) has been returned on (column D value), it is located in the (E value). It is now ready for warranty review". ANY help at all would be great, I'm new to writing macros and trying to learn.

  2. #2
    Forum Contributor
    Join Date
    10-19-2012
    Location
    Omaha, Nebraska USA
    MS-Off Ver
    Excel 2010
    Posts
    249

    Re: Input box to search column for value & generate email

    Hi,

    Below is a subroutine that utilizes a userform to do what you described. I have assumed you use Microsoft Outlook for the e-mail, but there is a part I have used for Thunderbird, so I think it would work with other e-mail clients. Depending how your e-mail client's security settings are set, it could take a little editing to get it to work smoothly. I actually use Thunderbird and prefer the second option for myself.

    I have attached the worksheet I used to put the subroutines together so you can see it work. The routine will run by pressing "<CTRL> a".

    The main subroutine:

    Please Login or Register  to view this content.

    The code for the Userform:

    Please Login or Register  to view this content.

    Thanks,

    Daniel
    Attached Files Attached Files
    Last edited by djbomaha; 01-01-2013 at 08:36 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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