G
Guest
I just started learning Visual Basic for Access 2003. I can use the
userforms and they give me back results when I try a message box. I'm
reading an older instruction lesson book from a few years ago that gives
instruction for "Visual Basic 6.0". When I do the following Sub in the
UserForm "View Code", things work brilliantly:
Public Sub UserForm_Click()
MsgBox "Hello World"
End Sub
However, when I try to the "Debug.Print", the lesson says I should get a
visible "2" on the form after clicking on it. But nothing is happening.
Can anyone put me in the right direction?
Private Sub UserForm_Click()
Debug.Print 4 / 2
End Sub
userforms and they give me back results when I try a message box. I'm
reading an older instruction lesson book from a few years ago that gives
instruction for "Visual Basic 6.0". When I do the following Sub in the
UserForm "View Code", things work brilliantly:
Public Sub UserForm_Click()
MsgBox "Hello World"
End Sub
However, when I try to the "Debug.Print", the lesson says I should get a
visible "2" on the form after clicking on it. But nothing is happening.
Can anyone put me in the right direction?
Private Sub UserForm_Click()
Debug.Print 4 / 2
End Sub