Runnig a module from menubar

C

Chris

I have written a module that basically opens a form after checking that a
public Variable has been set. I ideally want to run this code from a
customized menubar I have, but it can not find the function name.

I have tried creating a Macro using Run Code, I then use the browse to
select the module. Under Functions I can see my database and under that I
can see my module name, but it shows nothing else for me to select.

How do I run this piece of code??

Thank you in advance

Chris
 
G

Gerald Stanley

I would suggest that the first thing to be checked is that
you have declared your code as a Public Function.

Hope This Helps
Gerald Stanley MCSD
 

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