You would set a tag for all your dynamic controls (i.e. combo and label), something like "temp_control" and check against that when deleting. Something like:
As you figured out, creating controls requires doing it from another form and in design view, so that same rule may also apply.
Found this too. http://www.freevbcode.com/ShowCode.asp?ID=2815
Code:
Dim ctrl As Control
For Each ctrl In Me.Controls
If ctrl.Tag = "temp_control" Then
DeleteControl Me.Name, ctrl.Name
End If
Next
Found this too. http://www.freevbcode.com/ShowCode.asp?ID=2815