Did you put RandInt in a regular code module?
If you're unfamiliar with UDF's see David McRitchie's "Getting Started
with Macros and User Defined Functions":
http://www.mvps.org/dmcritchie/excel/getstarted.htm
In article ,
"topkick" wrote:
I tried the INDex and get a #name? error