In needs to be in the ThisWorkbook Class Module, not a standard/normal module.

Regards, TMS