Anda di halaman 1dari 1

Sub PsikoNumGenerator() Randomize Timer theEnd = InputBox("Jumlah angka yang akan dibuat", "Jumlah Angka") If Not IsNumeric(theEnd) Then

Exit Sub If Int(theEnd) = 0 Then Exit Sub For i = 1 To theEnd theText = theText & vbTab & Int(Rnd(i) * 10) Next Selection.TypeText Text:=theText End Sub

Anda mungkin juga menyukai