Thanks snb, that's nice code, although a bit too simplified for what I'm looking for it to do because I'm not looking to include every row of the sheet in the listbox, only those that match certain criteria.
Well, I ran into a further problem!!! When I click the submit button to my userform, the new values that the user has entered into a couple of textboxes don't now 'find' the row selected in the listbox by the user and matching that row with that on the sheet to edit it. I can't see what's going wrong here.
Here's what I have so far.
Code for sorting listbox in userform:
Then, when the user selects a line from the textbox and enters the values, and clicks a command button, those values should then be entered into the worksheet with the following code which is NOT WORKING:
Bookmarks