The code is copied from a notepad file and is pasted in an user module of that workbook.