randomize
On Fri, 28 May 2004 15:07:22 -0500, dallas
wrote:
Sub randomize()
Range("H2") = Int((Range("B4") - Range("B3") + 1) * Rnd + Range("B3"))
End Sub
I want to randomize from more than "B4 - B3".
"B4 - B3" and "C4 - C3" and "D4 - D3" and "E4 - E3"
and get the rnd result in "H2"
Two things:
1) Randomize is a keyword - use something else for the name of your sub.
2) What is your question? You seem to have a good idea of what to do.
--
auric underscore underscore at hotmail dot com
*****
Uh, oh... There's that sense of impending doom again...
|