SyntaxFix
Write A Post
Hire A Developer
Questions
To get a random integer value between 1 and N (inclusive) you can use the following.
CInt(Math.Ceiling(Rnd() * n)) + 1