[Solved]Random number help
I created two different random numbers but both of them always generate the same number, and I don't know whats going on, any help would be appreciated. My VB teacher at school helped me with this but I forgot what he did.
Private Function Randomizer(ByVal Startn As Integer, ByVal Endn As Integer) As Integer
Dim nRandom As Integer
Randomize()
nRandom = iStart + (Rnd() * (Endn - Startn))
Return nRandom
End Function
