This comde is to get a random number!!!!
Or eventes...use imagination
Creat a command button!!
And add this code!
Code here:
In this code if you press the comand button, the Visual beginner's all-purpose symbolic instruction code shows one msgbox with it numbers of generated 1 to 10!
Sorry my bad English
Or eventes...use imagination
Creat a command button!!
And add this code!
Code here:
| Code: |
| Private Sub Command1_Click()
Randomize numGerado = CInt(Rnd * 10) MsgBox numGerado End Sub |
In this code if you press the comand button, the Visual beginner's all-purpose symbolic instruction code shows one msgbox with it numbers of generated 1 to 10!
Sorry my bad English
