G Garry Dec 10, 2006 #2 How about: Dim frm As Form frm = frmMain.ActiveMdiChild Dim cntrl As Control For Each cntrl In frm.Controls If cntrl.Name = "WhateverTheNameIz" Then End If Next I didnt try it but it compiles - I think Pleeze send your donation to the local dogs home - in my name Garry
How about: Dim frm As Form frm = frmMain.ActiveMdiChild Dim cntrl As Control For Each cntrl In frm.Controls If cntrl.Name = "WhateverTheNameIz" Then End If Next I didnt try it but it compiles - I think Pleeze send your donation to the local dogs home - in my name Garry