Hi All:
How do I find all textboxes on a page and change a certain property
('enabled' for example) on each of them?
I thought of doing something like this:
sub changemytexboxes()
Dim mytxb As TextBox
For Each mytxb In Me.Controls
ctrlname.Enabled = False
Next
End sub
But when I do that, I get a casting error.
Or do I have to use findcontrol? If so, how?
Any advice would be highly appreciated.
Thanks
TB