Get a random num from 0 to x
From: Moose (mo_at_mo.com)
Date: 02/17/05
- Next message: Bob O`Bob: "Re: Get a random num from 0 to x"
- Previous message: Sam Hobbs: "Re: Monitoring network traffic using VB6"
- Next in thread: Bob O`Bob: "Re: Get a random num from 0 to x"
- Reply: Bob O`Bob: "Re: Get a random num from 0 to x"
- Reply: Bob O`Bob: "Re: Get a random num from 0 to x"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Feb 2005 18:18:34 -0000
Hi All
This is probably a very simple answer, but I just can't make it work with a
zero in it.
Basically I want a random number starting from 0 to 'x'
'x' being a literal value, var value or UBound value.
If I want a random number from 1 to 'x' then I don't have any problems, but
zero to 'x' results in me getting zero all or most of the time.
Your help is appreciated.
Cheers
- Next message: Bob O`Bob: "Re: Get a random num from 0 to x"
- Previous message: Sam Hobbs: "Re: Monitoring network traffic using VB6"
- Next in thread: Bob O`Bob: "Re: Get a random num from 0 to x"
- Reply: Bob O`Bob: "Re: Get a random num from 0 to x"
- Reply: Bob O`Bob: "Re: Get a random num from 0 to x"
- Messages sorted by: [ date ] [ thread ]