Runnig a module from menubar

  • Thread starter Thread starter Chris
  • Start date Start date
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
 
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
 
Back
Top