Re: How to Find a Form with Form's caption

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thanks French, why the following code is needed

Private Sub Command2_Click()
Load Form2
End Sub


Private Sub Command3_Click()
Unload Form2
End Sub

I think the following is enough for me

Private Sub Command1_Click()
Dim F As Form


For Each F In Forms
Me.Print F.Caption, F.Name
Next
End Sub

.