Macro throw error if not found record in excel

but this not work I used hot key ,click activity,delay but not work