Macro doesn't work when run from code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a macro that I want to run from a command button. It works fine when
it is run by itself from the macro area but when I put it in code, it keeps
running and won't end.
I use the code in the on click event of the command button
DoCmd.RunMacro "mcrClientMgr"

How would I get it to work from code?
 
LLoraine,

What happens if you assign the macro directly to the On Click event
property of the command button?

What are the actions in the macro? What actually happens, i.e. what
exactly does "it keeps running and won't end" mean?
 

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

Back
Top