Private Sub Command1_Click()
End
End Sub
Private Sub Command2_Click()
Cls
For x = 1 To 5
Print "Hello, How Are You?"
Next x
End Sub
Printable View
Private Sub Command1_Click()
End
End Sub
Private Sub Command2_Click()
Cls
For x = 1 To 5
Print "Hello, How Are You?"
Next x
End Sub
Whats your question?
I dont really understand this:
For x = 1 To 5
Next x
You dont need that at all
so:
Private Sub Command1_Click()
End
End Sub
Private Sub Command2_Click()
Cls
Print "Hello, How Are You?"
End Sub
it prints it 5 times
Yes it prints "Hello, How Are You?" 5 times but you can only see one line of "Hello, How Are You?" becuase of the "Cls" :)Quote:
Originally Posted by dglienna
post your code and I will fix.
The cls is outside of the loop. Why don't you paste the code into a new project and try it. You may learn something. :wave:Quote:
Originally Posted by Simply Me
Sorry mislook it. :thumb:Quote:
Originally Posted by dglienna
Ok
Thank You For Test It For Me!!!