G
Guest
I am attempting to create a macro which automatically opens a userform when
one opens the database. I believe the macro needs to be named "AutoOpen" but
I am having problems setting up the macro. The existing userform
automatically opens when I invoke the macro named "Private Sub
CmdPrintReport_Click()" by going into the VB editors and "running" the
subroutine from there. Unfortunately, when I attempt to set up the macro
using the MACRO tab (as directed), I can't actually see this routine listed
as an available option.
How do I get this subroutine (which essentially calls up userform1) to be
the first thing one sees when opening the database file?
one opens the database. I believe the macro needs to be named "AutoOpen" but
I am having problems setting up the macro. The existing userform
automatically opens when I invoke the macro named "Private Sub
CmdPrintReport_Click()" by going into the VB editors and "running" the
subroutine from there. Unfortunately, when I attempt to set up the macro
using the MACRO tab (as directed), I can't actually see this routine listed
as an available option.
How do I get this subroutine (which essentially calls up userform1) to be
the first thing one sees when opening the database file?