I have a module (CR2Count) that I am trying to run from a subform. How do I code that in please? I have put CR2Count which is what I would do if it were a public function. But with a module I get Compile Error: Expected variable or procedure, not module. Thanks