+ Reply to Thread
Results 1 to 4 of 4

RAND fuction

  1. #1
    Registered User
    Join Date
    11-20-2012
    Location
    Lithuania
    MS-Off Ver
    Excel 2010
    Posts
    2

    Question RAND fuction

    I have to make a macro which would make a table ( B4:K13 ) with each of its boxes containing a random number from 1 to 999 . These numbers can only change when macro is ran.
    I have found this : =IF(ReCalc, RAND()*(High-Low)+Low,C3) but dunno how to make it work. Please help .
    Last edited by Jaunynas; 11-20-2012 at 04:56 PM.

  2. #2
    Forum Contributor
    Join Date
    09-24-2012
    Location
    York, England
    MS-Off Ver
    Excel 2003/07/10
    Posts
    165

    Re: RAND fuction

    I think Im right in saying that if your table is created as a VBA module (macro) then the macro will be the only way to change them.
    Just make sure that you do all the calculations and update the table within the macro and recalc won't be able to change them.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: RAND fuction

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    11-20-2012
    Location
    Lithuania
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: RAND fuction

    Many thanks !

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1