Guest User

Untitled

a guest
Nov 22nd, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. Dim NameKey As Integer
  2. NameKey = Int(Rnd() * 10)
  3. Select Case NameKey
  4.  
  5. Case 0
  6.  
  7. TextBox1.Text = "Will"
  8.  
  9. Case 1
  10.  
  11. TextBox1.Text = "Bernardo"
  12.  
  13. Case 2
  14.  
  15. TextBox1.Text = "Manoel"
  16.  
  17. Etc...
  18.  
  19. Dim LastNameKey As Integer
  20. LastNameKey = Int(Rnd() * 10)
  21. Select Case LastNameKey
  22.  
  23. Case 0
  24.  
  25. TextBox2.Text = "Monteiro"
  26.  
  27. Case 1
  28.  
  29. TextBox2.Text = "Ferraz"
  30.  
  31. Case 2
  32.  
  33. TextBox2.Text = "Lins"
  34.  
  35. Etc...
Add Comment
Please, Sign In to add comment