code_junkie

Reliable real values generator for Excel for Office 2007 and Vista SP1

Nov 12th, 2011
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. Dim MyValue
  2. Randomize ' Initialize random-number generator. '
  3.  
  4. MyValue = Int((6 * Rnd) + 1) ' Generate random value between 1 and 6. '
Add Comment
Please, Sign In to add comment