Just nothing happens. I'm not sure what's going wrong. I used the code for two userforms with just one listbox and one textbox, and it works fine. But my third userform where I use the code has a listbox and three text boxes. So the code I have thus far is:
To compile the Userform Listbox after an 'ok' button is clicked on the main form:
After values have been typed into the 3 text boxes, a selection made from the listbox and 'ok' button is clicked, the following code is read:
Whilst the first part code works fine and lists what I need it to, the second part code doesn't bring the values forward and input them into the row that was selected in the listbox. So just nothing happens.
Ultimately, what I need Excel to do is insert a line underneath the row as selected in the listbox.
Put textbox1 value in row selected in cell in column E.
Put textbox2 value in row selected in cell in column D
Put textbox3 value in row selected in cell in column I
I've attached a sample worksheet with the data I'm working on.
Any thoughts on what might be going wrong? Am I using the same named variables - would that be a problem?
Bookmarks