How to execute a module rather than opening it....

  • Thread starter Thread starter TomP
  • Start date Start date
T

TomP

I have a silly question. I created an option button along with an event
procedure that will retrieve information from a mainframe. For some reason,
I find myself opening the module file rather than executing it. The name of
the function in the module is Sub update().

Thank you,
 
First, change the name of the sub. Update is an Access reserved word and
using a reserved word as a name can cause problems.

Use the After Update event of you option group to execute the sub. (You
don't execute modules, modules contain functions and subs which you execute.)
 
Back
Top