hi i found this code around the net but cant figure out how to make the values be displayed in a text box, currently the data is displayed in a list box.
Code:Randomize Dim X As Integer For X = 1 To 50 lstNumbers.AddItem Int(Rnd() * 59 + 1) If X = 50 Then Exit For End If Next X End Sub




Reply With Quote