Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default 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?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
number generator how can i sequence the middle numbers Excel Discussion (Misc queries) 2 November 10th 08 11:01 PM
same number appears in a random number generator Carmel Excel Worksheet Functions 4 May 28th 06 12:22 AM
Random Number Generator Pascale Excel Worksheet Functions 3 July 9th 05 12:37 AM
random number generator rsankh Excel Programming 2 June 5th 05 11:46 AM
sequential number generator Karen Westerman Excel Programming 2 October 21st 03 07:39 AM


All times are GMT +1. The time now is 09:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"