VBA from a macro

P

Peter

I have written a VBA function module and now want to run it from an Access
macro. I have tried using the "runCode" action and entered the name of the
function on the "function name" line as "functioname()". Access cannot seem
to find the function name. Can anyone tell me how to do this? I am missing
something. Thanks.
 
K

Ken Snell [MVP]

The function must be a Public one and must be in a regular module whose name
is different from the function's name.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top