+ Reply to Thread
Results 1 to 6 of 6

Macro search value in column and paste all the rows with this value..

  1. #1
    Registered User
    Join Date
    06-06-2012
    Location
    Mexico
    MS-Off Ver
    Excel 2010
    Posts
    99

    Macro search value in column and paste all the rows with this value..

    Hi! Good Morning!!

    I need that when you put a value in range "A4: A", find the value in the "Sheet 2" and return me in "C3:C" all the values ​​to find..& paste the entire row.
    Is this possible?

    Attach the document, when I try to create.
    Thanks again!

    Best Regards!!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-06-2012
    Location
    Mexico
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: Macro search value in column and paste all the rows with this value..

    example.jpg This is the idea..

  3. #3
    Registered User
    Join Date
    06-06-2012
    Location
    Mexico
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: Macro search value in column and paste all the rows with this value..

    I will pay anyone who writes the program I have described $20 (USD) via PayPal upon completion.

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Macro search value in column and paste all the rows with this value..

    Hi feroguz

    I'm unable to figure out what you were doing with the UserForm so it's been left untouched.

    I've added DataValidation to Range A4 through A14 on Sheet1. Select an Item and Data is pulled from Sheet2. There's new code in the Sheet Module and in ThisWorkbook Module and in the PrepData Module. A Named Range has been added in Sheet Lists (a new worksheet I've added). This Named Range is used for Data Validation mentioned above.

    Take a look...let me know of issues.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  5. #5
    Registered User
    Join Date
    06-06-2012
    Location
    Mexico
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: Macro search value in column and paste all the rows with this value..

    Dear John!

    Works Fine!!.. Great Forum Guru !!

    Best Regards!!

    Send you MP

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Macro search value in column and paste all the rows with this value..

    Hi feroguz

    You're welcome...glad I could help. Thanks for the Rep.
    Send the $20.00 to your favorite Charity...better yet, if you have Children, buy them a treat on me.

+ 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