Well... the obvious solution is to DELETE THAT LINE. If the program works perfect without it, then it is superflous and you can delete it.
Of course, we will deal with the potentiallity that you actually need this line.
The reason you are getting that error is that the either the adoTitelsBezit object has not yet been instantiated, or the Recordset object that is apparently a property of the adoTitelsBezit object hasn't been instantiated. Either way, you get the error 91 when you are working with variable that references an object that "is nothing" - which essentially means it hasn't been created yet.
Woody Z
http://www.learntoprogramnow.com