For-Next Loop

Anyone know the code to set up a for lext loop for a control array?

Comments

  • : Anyone know the code to set up a for lext loop for a control array?
    :
    :

    If you want to edit every control in the array:

    [Code]

    'Ok:let's say that you have an array of CommandButtons:

    Dim n As Integer

    For n = 0 To Command1.Count - 1

    Command1(n).Caption = "Test!"

    Next n

    [/Code]


    Hope this helps!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion