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

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,
 
K

Klatuu

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.)
 

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