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!
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!