I have been trying to create a "Search" or "Look Up" form for my database. (Attached file - "Test - Form").
I have been given a lot of help/ideas from this forum with which I managed to get to the stage where I could select the criteria i wanted to search by using a combobox and textbox in the userform. On hitting the "Find" button it shows all the results in the listbox.
The trouble started when I tried to display the listbox selection on the labels at the bottom of the userform. As the listbox is small and cant show all the fields properly, I need to display them in labels once user selects a particular record from listbox.
I managed to find some examples of this from this forum. (file attached "Action Log"). As I am not an Excel/ VBA expert, I have missed something and am not able to make it work.
Can someone please look at my file "Test - Search Form" and tell me where I have gone wrong. It keeps giving me message saying "Out of range". I am not sure how to define ranges correctly.
I would appreciate any help!