A Allen Browne Mar 2, 2004 #2 Loop through the Controls of the form, to see if any have a ControlType of acSubform: Dim ctl As Control For Each ctl In Me.Controls If ctl.ControlType = acSubform Then Debug.Print ctl.Name & " is a subform" End If Next
Loop through the Controls of the form, to see if any have a ControlType of acSubform: Dim ctl As Control For Each ctl In Me.Controls If ctl.ControlType = acSubform Then Debug.Print ctl.Name & " is a subform" End If Next