You really do need to determine exactly what the problem is. As I've said with that error there are only two possibilities. One side or the other of the equals has a value of Nothing. You need to know which one it is.