hi there...
and you are using what version of
VB???
the question is about generating a random number or how to get that random number between 1 and 6???
anyway take a look at randomize, random and to get a number between 1 and 6 just use:
INT(6 * RANDOM()) + 1
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========