i am not sure what you want .but if you want to exclude login form .you need to check with if condition .like as follows.ok when I use this code it puts all the forms into the list box (which I am already doing) including the login form(main form) which I dont need in there. It still doesnt help me with being able to show the form that I need to when I double click them in the list box.
Code:Dim frm As Form For Each frm In Forms Debug.Print frm.Caption if frm.name="Frmlogin" then 'Do what you want ' End if Next




Reply With Quote