Correct me if I am wrong, but each form has its own block of VBA code within an Access application.
What I want to do is create an e-mail function in my Access Application that I can pass address, subject line, and message to and have it use CDO to send the SMTP message to my mail server. I have found the correct CDO e-mail code, but I am wondering how (if possible) to create on callable function in my Access project that can be called from any form, so I don't have to put the same e-mail code in each form {like to keep things clean if I can}.