It appears to stop where the hours entered in the UserForm need to be applied to the database. The Name, Department and Type of work are populating the rows in the database, but then it stops. So it does recognize the hours entered in the textboxes, because it only populates rows in the database for the type of work for which I've entered a value (hours).
I hope I am showing it correctly in the code sample below. I tried to highlight the line that shows bright yellow when I choose debug on the error message (RunTime error, Could not find the specified object).
btw: the first TextBox is TextBox1, not 2 as shown in the code. However if I change that to 1, I get the same error.
UserForm2 was just a testform. The ListBox is gone (what is a shifty?). I've just copied and pasted the code we're using in UserForm1 into Userform2 (and changed all the names, references, etc.), since Userform2 will function very similar, except that it deals with Key-Indicators instead of Types of Work, and populates a different database. The form is working, except that I'm getting the exact same error message in UserForm2 as in UserForm1. See below:
btw: I've learned more from you in the last day and a half, then I have reading the entire VBA for Excel book.
Thank you!
Bookmarks