Hi - Thanks for your reply. Tried it again having replaced all but the outermost brackets with ( or ) and it has fixed it. Of course, now I get some different errors. Haven't a clue what I'm doing really! If I get stuck again "I'll be back!" as they say. It's a bit of a steep learning curve after VB6. MW