Load event not working

R

Robert_DubYa

My load event is not triggering any action. Even a msgbox is not working.
The following code (very simple) is in my vba:

Private Sub Form_Load()
MsgBox "Test"
End Sub

Not sure if a setting is not turned on or what, but any help would be
apperciated.

thanks!!!!!!!

Robert
 
T

Tom van Stiphout

On Tue, 22 Jan 2008 18:04:09 -0800, Robert_DubYa

In some cases your VBA code gets "disconnected" from its events. Open
the form in design view > properties > events tab > ensure that
"[Event Procedure]" is selected for the Form_Load event.

-Tom.
 

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