Thank you Sir_Fz for your suggestion. Thank you awyeah for the help you have given about strings I'm sure that will be very useful for future projects. After thinking about the problem and remebering what I said in my first post about the code working in my normal pubm proc, the solution I have come...