Membuat Pauli dan Kraepelin Test Generator
Pauli dan Kraepelin Test Generator:
- Buka Microsoft Word
- Setelah Microsoft Word terbuka, tekan tombol ALT + F11
- Pilih INSERT pada menu lalu pilih MODULE
- Masukan kode dibawah ini:
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
- Kembali ke Microsoft Word lalu tekan tombol ALT + F8 dan pilih RUN
- Setelah itu masukan jumlah angka yang diinginkan
- dan angka-angka tersebut akan secara otomatis di generate oleh perintah diatas