For Each .... Next?

technomag

Newcomer
Joined
Sep 28, 2002
Messages
4
Hi everybudy

i am trying to change the visible proprty of all my textboxes on the form to true.

Code:
        Dim obj As Object

        For Each obj In Me.Controls
            If (obj Is TextBox) Then
                obj.Visible = True
            End If
        Next

how do i fix?:confused:

thanks
 
Back
Top