Hi all I'm just trying make a workbook more functional by hopefully adding a search textbox to the userform the contains the actual listbox. My knowledge of VBA is limited although I have a fairly good understanding of how to write code for basic stuff.
The overall purpose of the workbook is for my wife to enter expense and income information for her small business selling her products at festivals / events throughout the year.
Once populated the listbox will show all the events / festivals she has attended, it shows 10 Columns (out of 59 on the actual worksheet) with the key data event code, event name, location and start date listed in the first 4 columns with the other 6 columns containing general information.
What I'm hoping is achievable is to have a search box on the userform that can filter the listbox contents down to whatever criteria is entered in the search bar and once the relevant record is the only one visible in the listbox it can be double clicked to open the userform showing all the specific information for the record selected.
I have already (on another different workbook) created a search bar using a formula that filters the rows but the user can see the actual worksheets on this one, which is fine but with the workbook I'm asking about my wife will not be allowed to view any of the sheets.
I hope this makes sense what I'm after and logically I'm thinking it should be possible to do but I may be over complicating things so if anyone can suggest a more simplistic way of doing this I'm more than happy to try it.
Thanks for any responses Paul
The overall purpose of the workbook is for my wife to enter expense and income information for her small business selling her products at festivals / events throughout the year.
Once populated the listbox will show all the events / festivals she has attended, it shows 10 Columns (out of 59 on the actual worksheet) with the key data event code, event name, location and start date listed in the first 4 columns with the other 6 columns containing general information.
What I'm hoping is achievable is to have a search box on the userform that can filter the listbox contents down to whatever criteria is entered in the search bar and once the relevant record is the only one visible in the listbox it can be double clicked to open the userform showing all the specific information for the record selected.
I have already (on another different workbook) created a search bar using a formula that filters the rows but the user can see the actual worksheets on this one, which is fine but with the workbook I'm asking about my wife will not be allowed to view any of the sheets.
I hope this makes sense what I'm after and logically I'm thinking it should be possible to do but I may be over complicating things so if anyone can suggest a more simplistic way of doing this I'm more than happy to try it.
Thanks for any responses Paul