$ 0 0 Corrected the Logic and code is working now . Yes agreed to many typo error I have made. Thanks Vadim Again :-)