RandomNumber

Generate random number between Lower and upper numbers provided

CodeFunctionName
What is this?

Public

Tested

Original Work
Function RandomNumber(LowerB, UpperB)
If CInt(UpperB) = 0 Then UpperB = 999999
If CInt(LowerB) = 0 Then LowerB = 100000
Randomize(Second(Now) + 60)
RandomNumber = Int((UpperB - LowerB + 1) * Rnd + LowerB)
End Function

LowerB, UpperB

Views 4,003

Downloads 1,310

CodeID
DB ID

ANmarAmdeen
609
Revisions

v1.0

Thursday
June
28
2018