Results 1 to 2 of 2

To stop RANDOMBETWEEN function from recalculating

Threaded View

Abbat To stop RANDOMBETWEEN... 01-03-2019, 07:27 PM
alansidman Re: To stop RANDOMBETWEEN... 01-03-2019, 07:58 PM
  1. #1
    Registered User
    Join Date
    01-03-2019
    Location
    FortMcmurray, Alberta
    MS-Off Ver
    Office 2016
    Posts
    9

    To stop RANDOMBETWEEN function from recalculating

    Hello All,

    I am utilizing following function to randomly generate positive integer =IF(NOT(ISBLANK(B2)),RANDBETWEEN(15,1506009),"") but it keeps recalculating itself every time new number is generated.

    It can be solved through the following VBA code for RAND() numbers.

    Function Random()
    Randomize
    Random = Rnd()
    End Function
    But its not working for RANDBETWEEN(). I have attached a screenshot for the code explanation as well. Please help

    ThanksCapture_RAND VBA Code.JPG
    Last edited by Abbat; 01-03-2019 at 10:20 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Stop pivot slicer from recalculating % total
    By tamaramb in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-04-2016, 09:15 PM
  2. Stop whole sheet recalculating after a data input is changed
    By mikebeas in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-12-2015, 04:46 PM
  3. [SOLVED] Stop a Formula from Recalculating the Next Day It's Opened
    By iseman22 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-23-2013, 03:05 PM
  4. Stop cell from Recalculating after certain Date has passed
    By travisg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-16-2013, 12:52 AM
  5. Automated macro won't stop recalculating
    By Stickleback in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-24-2012, 01:16 PM
  6. How to stop sheet constantly recalculating (could be due to userform)
    By AussieM8 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-30-2009, 11:44 AM

Tags for this Thread

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