It needs to go in the ThisWorkbook module, not a standard module.