I've had this problem, 'For Each' doesn't pick up labels. Use 'While... Wend' instead:
Dim i As Integer
i = me.Controls.Count - 1
While i > 0
If me.Controls(i).Tag = "OrderPic" Then
me.Controls(i).Visible = False
End If
i = i - 1
Wend
Use control property ControlType = 100 to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.