+ Reply to Thread
Results 1 to 5 of 5

Copy Row Based On Textbox Input

  1. #1
    Registered User
    Join Date
    12-10-2018
    Location
    USA
    MS-Off Ver
    2016
    Posts
    28

    Copy Row Based On Textbox Input

    Hi Everyone,

    I am looking for a little help with the VBA code in the attached Sheet that I have attached. I would like the user to be able to enter a site number into the textbox, hit the search button, the VBA code would the search column B of the data sheet for that number and copy the information from the corresponding rows cells cells B(Site Number) cell C (Site Name) and Cell F (Market). It would then return that information to be used in the CONCATENATE formula located in cell A8 of the subject line sheet. I did try to search working formulas and piece together one that would work but I have not had any luck thus far. Any help would be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,004

    Re: Copy Row Based On Textbox Input

    and copy the information from the corresponding rows cells cells B(Site Number) cell C (Site Name) and Cell F (Market)
    Where do you want to paste the information?

    Here's what I got, see if it suit what you want.
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-10-2018
    Location
    USA
    MS-Off Ver
    2016
    Posts
    28

    Re: Copy Row Based On Textbox Input

    Akuini,

    Thank you for taking the time to take a look and help me out.

    It could be pasted in row 5 of the subject line sheet. I was going to use the concatenate function to put everything together

  4. #4
    Registered User
    Join Date
    12-10-2018
    Location
    USA
    MS-Off Ver
    2016
    Posts
    28

    Re: Copy Row Based On Textbox Input

    Akuini,

    Your code did exactly what i was looking for! Thank you greatly for your help with this!!!!

  5. #5
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,004

    Re: Copy Row Based On Textbox Input

    You're welcome, glad to help, & thanks for the feedback.

+ 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. [SOLVED] enable number of textboxes based on input in another textbox
    By bqheng in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-25-2017, 08:01 PM
  2. Change filepath in macro based on textbox in form input
    By Jenkins27 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2015, 09:12 PM
  3. VBA code to copy textbox input to specific cell
    By onemoremile in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-19-2014, 04:34 PM
  4. [SOLVED] Filter Listbox Values based on Textbox input
    By redocs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-17-2013, 04:59 AM
  5. Calculation based on input from userform textbox
    By h0ps in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-21-2012, 10:41 PM
  6. Populate a column based on input from a textbox
    By AnthonyWB in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-09-2012, 03:39 PM
  7. copy specific worksheets based on textbox input
    By moonbecky in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-30-2008, 12:47 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