dovresti sepere che rnd restituisce un numero tra 0 ed 1 (non compreso)

randomize
n = cint(rnd * 10) + 1