Web Analytics Made Easy -
StatCounter VBA: RandBetween Function - CodingForum

Announcement

Collapse
No announcement yet.

VBA: RandBetween Function

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VBA: RandBetween Function

    Code:
    WorksheetFunction.RandBetween
    I can't seem to generate a random number in Excel VBA. Anyone know how to do this?
    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook

  • #2
    I don't know about Excel VBA.
    But in c++ you have to seed the random number generator before it actually 'worked'.
    Why is a raven like a writing desk?

    Comment

    Working...
    X