Results 1 to 6 of 6

Macro to generate a random number between 2 specific values into specific cells.

Threaded View

  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    10

    Macro to generate a random number between 2 specific values into specific cells.

    Hello everyone,

    I've lurked here for a while and it's helped me quite a bit in the past, but now I find myself stumped on what is probably the "easiest" macro I've put together.

    Essentially what I'm trying to do is make a button, that when pressed, generates a random number between 81 and 103 in cells B34:37 that I can press over and over to my heart's content.

    I don't have the add-in that allows me to use the formula "=RANDBETWEEN()" or elst I'd just use that, and I've tried to google this and came up with nothing. I found various tid-bits of code here and there, but I couldn't fit it together to do what I wanted it to.

    Thanks in advance for the help.
    Last edited by Nerfmagnet; 04-10-2013 at 11:42 AM. Reason: Solved

Thread Information

Users Browsing this Thread

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

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