Skip to content

Instantly share code, notes, and snippets.

@mritzmann
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mritzmann/7333531baf1791cdca4e to your computer and use it in GitHub Desktop.
Save mritzmann/7333531baf1791cdca4e to your computer and use it in GitHub Desktop.
Generiert eine Zufallszahl
' Generiert eine Zufallszahl zwischen 12 und 50. Minimale und Maximale Zahl kann beliebig angepasst werden.
' Lizenz: Public Domain
Private Sub Button_Click()
Zufallszahl = Int(Rnd() * 50 + 12)
MsgBox Zufallszahl
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment