I don't know for sure but I think it has to do with the fact that VB doesn't understand your zomparison.

I have been trying a couple of things and it's with all the lines where there more then one "=" symbol. There where there was one, it worked.

It's just a guess, but I could be right?