I didn't think about it, I need actually a random generator with a initial value (seed), e.g. new Random(222), can I do it with rnd too?
but I like to know it also because it's a recurrent problem that i need to use classes/objects or functions in VBA which I can use in vb.
Is it possible to use all classes available in VB in VBA somehow?