Hi
How can I to Enabled and Disabled all controls (Textbox and Labelss) inside Frame using Loop
TIA
Printable View
Hi
How can I to Enabled and Disabled all controls (Textbox and Labelss) inside Frame using Loop
TIA
Well, you can disable the frame and then all controls on it are no longer enabled.
Else
Code:Dim v As Variant
For Each v In Me.Controls
If v.Container Is Frame1 Then v.Enabled = False ' or true as needed
Next