J
Jeff Francis
Can you help! I'm totally new to Visual Basic save that I
have prepared Macro's within Word to enable reformatting
of documents created by my business software.
To assist my Son I am trying to prepare a random number
sequence so that a probability study can be made for
rolling a single dice.
What I need is a straightforward VB programme/Macro that
is going to be able to produce a random sequence of
numbers between 1 and 6. I would like the programme to be
adaptable to specify the length of the number sequence.
In VB help I have found the 'Randomize Statement' which
appears to be what I want but I have no idea of the
correct syntax to produce the programme.
If no-one can help I'll be up for the next few nights
rolling a dice by hand thousands of times over! There's
got to be an easier way!
Jeff
have prepared Macro's within Word to enable reformatting
of documents created by my business software.
To assist my Son I am trying to prepare a random number
sequence so that a probability study can be made for
rolling a single dice.
What I need is a straightforward VB programme/Macro that
is going to be able to produce a random sequence of
numbers between 1 and 6. I would like the programme to be
adaptable to specify the length of the number sequence.
In VB help I have found the 'Randomize Statement' which
appears to be what I want but I have no idea of the
correct syntax to produce the programme.
If no-one can help I'll be up for the next few nights
rolling a dice by hand thousands of times over! There's
got to be an easier way!
Jeff