+ Reply to Thread
Results 1 to 12 of 12

Search, find, match-populate textboxes

  1. #1
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Search, find, match-populate textboxes

    Hi all,

    I try to find a solution to populate some textboxes but without any success!
    The idea is, look in Sheet2, range D26:G29 and if the same text is in Sheet3 range A2-A50 populate my textboxes.
    I attached a test file and I hope you have some ideas for solving this problem!

    Thank you very much for your support!
    Attached Files Attached Files
    Regards, John55
    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.

    ...enjoy -funny parrots-

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Search, find, match-populate textboxes

    my idea


    Kind regards
    Leo
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Search, find, match-populate textboxes

    Hi Leo,
    Thanks a lot for your help!
    I'll add some textboxes for the column D, because is possible to have text (a station) in column D too.
    I'll continue yr idea.

  4. #4
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Search, find, match-populate textboxes

    Hi,
    Leo's solution works fine for one column, I'm wondering if someone has another solution for both columns!
    I appreciate your time and help!

  5. #5
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Search, find, match-populate textboxes

    Hi John

    this takes both columns


    Kind regards
    Leo
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Search, find, match-populate textboxes

    Hi Leo,

    Thank you very much for the solution provided!
    I'm very sorry, it doesn't do anything, no error, nothing!
    if I comment out "on error resume next" it's highlighted the line Textbox1=Application.....

    Cheers

  7. #7
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Search, find, match-populate textboxes

    Hi John,

    it is working here so see next things

    sheetname to search = "sheet2"
    2 ranges to search in are "D26:D29" and "G26:G29"

    maybe you have to change that part in the code

    Kind regards
    Leo

  8. #8
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Search, find, match-populate textboxes

    Hi Leo, I really do not know, it's weird! ...

  9. #9
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Search, find, match-populate textboxes

    can you post the one thats not working ?

  10. #10
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Search, find, match-populate textboxes

    this is the file you uploaded.
    Attached Files Attached Files
    Last edited by john55; 09-03-2015 at 08:49 AM.

  11. #11
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Search, find, match-populate textboxes

    I think i misunderstood the intention,
    maybe this is what your after.


    Kind regards
    Leo
    Attached Files Attached Files

  12. #12
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Search, find, match-populate textboxes

    Hi Leo!
    Yeap! this is it! Thanks a lot for your time and help!

+ 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] Find, Match and Populate Formula
    By Blu3St@r in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 04-06-2014, 10:50 PM
  2. Replies: 10
    Last Post: 01-17-2013, 12:26 PM
  3. Userform populate listbox with search from multiple textboxes
    By chendysworld in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-12-2012, 11:12 AM
  4. Find Match and Populate ListBox
    By zimbo109 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-05-2010, 03:59 PM
  5. Find a value then populate different textboxes with other info
    By XLVBA in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-29-2009, 12:54 PM
  6. Populate Textboxes
    By taichi56 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-22-2008, 01:24 PM
  7. Replies: 1
    Last Post: 04-11-2005, 01:06 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