Spot on, it was the BYTE and not WORD variable that was causing the confliction.

All done now and working how i want.

Thanks again for taking the time to help. Merry Christmas.

Steve