$ 0 0 Sorry for the very late response The function CLEARKEYBOARDBUFFER() is working very nice SysRefresh() is not working Thank you