Hi All,
I have a optionbutton and few text boxes (which are disabled) in a userform and I was wondering is there a way to enable all text boxes instead of one at once to avoid doing individually. I use the following code to enable all at once but I want one of them to be kept diasabled. What shall I add to the following to make it happen?
Thanks
For Each ctl In Me.Controls If TypeName(ctl)="TextBox" AND OptionButton1.Enabled = True Then ctl.Enabled = True End If Next ctl
Bookmarks