Hi all! Have a question. i used this code for a long time within a form and works fine:
Dim Ctl As control
For Each Ctl In Controls
If Ctl.Tag = "s" Then
Ctl.visible = False
End If
Next Ctl
When I'm trying to use it in Function outside of the form, I get an error. Need to reference particular form I guess
How would I reference "Production" form for example from function?
Thank you!