using a custom userform search my data table in excel

  • I have created a user form to search my data table but the code doesn't search the key word in textbox1. it keeps on looping through the data in textbox2-6 until 0. The code should work by inputting the search word in textbox1 and the rest of the boxes will show data from that row from the search word

  • Re: using a custom userform search my data table in excel


    Hi luis,
    Try ..

  • Re: using a custom userform search my data table in excel


    Are you using a Table i.e. a ListObject?


    Attach an example workbook. Using a Loop is inefficient and the .Find method would be better.

  • Re: using a custom userform search my data table in excel


    something like

  • Re: using a custom userform search my data table in excel


    Thank you so much pike, I apologize for taking too long to respond to you. I use the second code and it worked beautifully. I tried to tweak the code as a next button. but an error comes up.


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!