+ Reply to Thread
Results 1 to 2 of 2

VBA to Randomly Select a Cell

  1. #1
    Forum Contributor
    Join Date
    09-25-2012
    Location
    Ventura, united States
    MS-Off Ver
    Excel 2010
    Posts
    346

    VBA to Randomly Select a Cell

    I have a list of people that I need to randomly assign to different tasks. Does anyone know how to do this? Here's what I have:

    Please Login or Register  to view this content.
    What I'm missing obviously is that there is no randomness yet.

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: VBA to Randomly Select a Cell

    This routine will pick at random all members of the range between 1 and rmax
    the use of the array sel() is to ensure that the choices are not repeated.

    Please Login or Register  to view this content.

+ Reply to Thread

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