![]() |
Need VBA code for Rnadom Number Generator
I need help creating a random number generator that creates a number
between 60-150. Does anyone know how to do this? |
Need VBA code for Rnadom Number Generator
Dim MyValue MyValue = Int((90 * Rnd) + 60) Debug.Print MyValu -- MattShoreso ----------------------------------------------------------------------- MattShoreson's Profile: http://www.excelforum.com/member.php...nfo&userid=347 View this thread: http://www.excelforum.com/showthread.php?threadid=53682 |
All times are GMT +1. The time now is 06:23 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com