Ravi,
I cannot say what is wrong 1. without actually knowing what all the default macros actually are doing, 2. without seeing the exact procedure you are using, and 3. without reviewing each screen as it happens, This is not easily feasible from within SCN posts.
Perhaps you should open a new thread, and solicit help from the entire community? (many SCN members do not look at posts that were 'tacked on' to a post that was not originated by them).
Best Regards,
DB49