Hi,
I have two rows with 10.000 lines each, i wonder if there is possible to make an easy search box using VBA, searching values in row A and then get the Value of row B in the search box?
vba.PNG
Thank you in advance
Henrik
Hi,
I have two rows with 10.000 lines each, i wonder if there is possible to make an easy search box using VBA, searching values in row A and then get the Value of row B in the search box?
vba.PNG
Thank you in advance
Henrik
Hi henrik- I can't tell if those are Filtering drop-downs or ActiveX controls, but filtering your data seems like what you're after. To filter, select any cell in the header row, then press CTRL+SHIFT+L. Now filter for A values of interest to see corresponding B values. If you already understand filtering, then it sounds like you're after a multi-column List Box.
Last edited by leelnich; 05-15-2017 at 05:27 AM.
Hi,
Thank you for the response, it is a lot of similar numbers so normal filtering is not working so well. What i was wondering is making a Active X controlled search button, but not sure how the VBA code would be.
Hi hendrikvv
This should give you an idea:
Please Login or Register to view this content.
Good Luck
I don't presume to know what I am doing, however, just like you, I too started somewhere...
One-day, One-problem at a time!!!
If you feel I have helped, please click on the star to left of post [Add Reputation]
Also....add a comment if you like!!!!
And remember...Mark Thread as Solved.
Excel Forum Rocks!!!
Hi sintek,
That is awesome, exactly what i wanted The numbers go down to row 10555, how do i extend the VBA code to search all of them?
The code does that....
Henrik- If you look at his code (5th line "lRow = ..."), you'll see he finds the last row in column A, so you should be able to see all the values.
You are right, had my numbers in the wrong format. It works perfectly now, thank you so much sintek
Pleasure...Please mark thread as solved and please add to my reputation....
click on the star to left of post [Add Reputation]
Edited:
Thanks for rep points
Last edited by sintek; 05-15-2017 at 09:13 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks