How do i destroy the object declartion, or close the object before assigning it again? Set dbTmp = New NotesDatabase(strServerName, "log.nsf" ) and forget about the Open.