Oh sorry, the problem is that it seems to think that they are not equal when i input the value 'blank' so that it should enter the if statement

I just tried that and it works. Thanks for the quick reply ....something so small lol

Dan