A family of Microsoft relational database management systems designed for ease of use.
The function has to be declared as Public and stored in the same file as the macro or included in the VBA references.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm not sure of the term. But how do I make it so that I can access the code in a vba module?
I'm putting a macro into my back end, and I want to reference a user defined function. I created a module, put the function code in, saved, restarted the database. I cannot reference the function. If I run the macro, there's an error, if I use the expression builder the module and it's function don't show up. I assume there's something I have to do to make the module active or something, but I've no clue what that is.
A family of Microsoft relational database management systems designed for ease of use.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
The function has to be declared as Public and stored in the same file as the macro or included in the VBA references.
Thank you for your reply. It wound up being my mess up. A typing error I wasn't noticing as I looked things over.
Glad to hear you got it sorted out. Good luck with your project.
The function has to be declared as Public and stored in the same file as the macro or included in the VBA references.
Thank you for your reply. It wound up being my mess up. A typing error I wasn't noticing as I looked things over.