I have a loop which adds a specified number of labels determined by the user to a form that are equally distributed across the form. However, it's possible for them to not be seen because they exceed the width of the form. I need my code to determine if the label is greater than the width of the form it starts a new row. Below is the code I have so far, and it may not be the best choice, but it does place the label on the form.
Private Sub LoadWords()
For Me.x = 1 To NumOfWords
Words(x).Left = (100*x) + (x*25)
Words(x).Top = 50
End Sub
Mike