B
bernadou
I'm tying to get a handle on the forms collection. If I have 5 forms in my
application, why don't I get a message box for each of the forms in my
application using the code below? Currently, I'm only gettng the name of the
form where this handler exists and none of the other forms in the application.
Private Sub Detail_Click()
Dim Objform As Form
For Each Objform In Application.Forms
MsgBox (ObjForm.Name)
Next
End Sub
Thanks!
Bernie
application, why don't I get a message box for each of the forms in my
application using the code below? Currently, I'm only gettng the name of the
form where this handler exists and none of the other forms in the application.
Private Sub Detail_Click()
Dim Objform As Form
For Each Objform In Application.Forms
MsgBox (ObjForm.Name)
Next
End Sub
Thanks!
Bernie