Hi, I'm using sendkeys to send 3 commands to a window. The first sendkeys is sending a string which it is doing. The 2nd send keys is sending the ENTER key which it is doing and finally the 3rd send keys is sending another string. The problem is that the second sleep is not kicking in, so passes it the 1st string and then waits for 2 secs and then it passes the ENTER key and the 3rd string together. I really can't see what the problem is. Anyone that can help feel free to shout.