Yes it is possible by testing the C.Container.Name = "Frame1" or ...
Dim C As Control
For Each C In Me.Controls
If C.Container.Name <> "Frame1" And C.Name <> "Frame1" Then
C.Visible = False
End If
Next C
As for a timer control...
If C.Name <> "Timer1" Then
But then again, you could add the timer to the frame and then not need to check to see if c.name = "timer1" within the For Each loop.
Good Luck
Reputation Points: 156
Solved Threads: 296
Posting Virtuoso
Offline 1,670 posts
since Mar 2009