If this is the purpose of this post then may i suggest that you use the help function of visual basic and try using google. As the Syntax for an IF statment is about the easiest peice of information to get your hands on, and it would of saved you a fair bit of time.
I'm going to close this thread. Marina2, if you have an actual question to ask, then post it in a new discussion thread, and try including a bit more information.
Comment