|
Buy Today, send us your order ID, and claim over $70.00 worth of FREE software |
---|
Z Random can also be used from your VBA projects, just add a reference to "Z Random" and use Z Random.Next and Z Random. NextBetween to generate random numbers, or use one of the functions to generate random variables from a probability distribution like NextPareto or NextHypergeometric.
Public Sub ShowRunningTotal() ' Re-seed ZRandom with the current time ZRandom.Seed Timer ' generate 100 poisson numbers and keep a running total Dim runningTotal As Double Dim counter As Integer For counter = 1 To 100 runningTotal = runningTotal + ZRandom.NextPoisson(5) Next ' show the total MsgBox "The total was: " & CStr(runningTotal) End Sub
Instant Download and Money Back Guarantee on Most Software
Excel Trader Package Technical Analysis in Excel With $139.00 of FREE software!
Microsoft � and Microsoft Excel � are registered trademarks of Microsoft Corporation. OzGrid is in no way associated with Microsoft
Some of our more popular products are below...
Convert Excel Spreadsheets To Webpages | Trading In Excel | Construction Estimators | Finance Templates & Add-ins Bundle | Code-VBA | Smart-VBA | Print-VBA | Excel Data Manipulation & Analysis | Convert MS Office Applications To...... | Analyzer Excel | Downloader Excel
| MSSQL Migration
Toolkit |
Monte Carlo Add-in |
Excel
Costing Templates