Results 1 to 9 of 9

Thread: Looping through Form objects

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2011
    Posts
    15

    Looping through Form objects

    I have some code that I want to apply to many objects (Pictre Boxes) and I was unable
    to loop through the objects via a For loop and am currently forced to copy paste the code for each Image Box.

    The Pictre Boxes are named compAlien1, compAlien2 ... compAlien9

    Is there a way to do something similar to this:
    Code:
    For i = 1 To 10 Step 1
    compAlien[i]... #code#
    Next i
    thanks in advance
    Last edited by Acidic33; Feb 5th, 2011 at 03:14 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width