Tab Control

K

Krisse Arthur

I have a form with a page control. I want a macro to run
automatically when the user clicks on Page 2.

The Page Name is Client Summary and the macro is
mcrAction. I used the code builder and just filled in the
DoCmd line below. My code in On Click is the following:

Private Sub Client_Summary_Click()
DoCmd.RunMacro (mcrAction)
End Sub


When I open page 2 (Client Summary) the macro does not
execute.

This page displays a subform with data that will be
affected by mcrAction.

Any ideas?

Thanks!
 

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