Generate random number between Lower and upper numbers provided
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
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,005
Downloads 1,310
CodeID
DB ID