Thanks for everything guys I have things working so far will keep everyone updated the code is a lot cleaner so it is understandable and it will work with anyone's code. So when I get it done I will post so everyone could see it.