Error 484 - Requires procedure (Function/Method...)

Requires procedure (Sub/Function/Method/Property) - The statement or function found here is only allowed within a procedure (SUB, FUNCTION, METHOD or PROPERTY).  Elsewhere, it has no valid meaning and must be removed.