@RISK: Sampling Distributions in VBA Code

Use Risk.Sample("Distribution") in VBA to generate random @RISK values. Supports numeric values, cell references, named ranges, and writing results to worksheets.