Rand numbers

  • Thread starter Thread starter Robert
  • Start date Start date
Robert said:
how do u get rand numbers in power point?

This generates random integers between 10 and 100
=================================================
Public Sub Test()
Dim Lowerbound As Long, Upperbound As Long

Lowerbound = 10: Upperbound = 100
MsgBox Int((Upperbound - Lowerbound + 1) * Rnd + Lowerbound)

End Sub
=================================================

Bruno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top