tdefreest,
Is the the procedure "validateform" in the Form's module itself or is it in it's own code module?
If the procedure is in the form's module, the you don't need to pass a reference to the form, you can do this instead:
Your Function:
Public Function validateform() As Boolean...