first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

Code: basRandomNum(); Generating a Random Number between Upper and Lower Limits

Function basRandomNum(Lower As Long, Upper As Long)

basRandomNum = VBA.Int((Upper - Lower + 1) * VBA.Rnd + Lower)

End Function

mod date: 2000-08-15T00:52:00.000Z