I am looking to have a "for loop" search all forms in my project (opened and closed). So far i have the following:
what should i replace the .......'s with???Code:Dim frm as Form For Each frm in ....... If frm.Name = "Form1" Then MsgBox ("Form1 Found") End If Next frm




Reply With Quote