Open "Macros" tab after module is run

M

MikeM

I have created a module that runs great. I have the use run it from a macro
that is using RunCode. In the module I create a table by running
DoCmd.OpenQuery "qmakOnHand"
After the code is finished running it stops on the table that was just
created. How can I select the "Macros" tab using code?

MikeM
 
G

Guest

-----Original Message-----
I have created a module that runs great. I have the use run it from a macro
that is using RunCode. In the module I create a table by running
DoCmd.OpenQuery "qmakOnHand"
After the code is finished running it stops on the table that was just
created. How can I select the "Macros" tab using code?

MikeM


.


Just use:

DoCmd.SelectObject acMacro,,True
 

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

Similar Threads


Top