+ Reply to Thread
Results 1 to 19 of 19

Random numbers but 3 numbers in sequence not allowed.

Hybrid View

NewGen Random numbers but 3 numbers... 07-28-2012, 11:26 AM
patel45 Re: Random numbers but 3... 07-28-2012, 01:00 PM
tom.hogan Re: Random numbers but 3... 07-28-2012, 01:16 PM
Cutter Re: Random numbers but 3... 07-28-2012, 03:19 PM
NewGen Re: Random numbers but 3... 07-28-2012, 08:13 PM
NewGen Re: Random numbers but 3... 07-28-2012, 09:05 PM
tom.hogan Re: Random numbers but 3... 07-29-2012, 07:14 AM
NewGen Re: Random numbers but 3... 07-29-2012, 08:42 AM
patel45 Re: Random numbers but 3... 07-29-2012, 01:55 AM
NewGen Re: Random numbers but 3... 07-29-2012, 04:27 AM
patel45 Re: Random numbers but 3... 07-29-2012, 05:44 AM
tom.hogan Re: Random numbers but 3... 07-29-2012, 09:02 AM
NewGen Re: Random numbers but 3... 07-29-2012, 06:09 PM
tom.hogan Re: Random numbers but 3... 07-29-2012, 07:18 PM
NewGen Re: Random numbers but 3... 07-29-2012, 11:50 PM
NewGen Re: Random numbers but 3... 07-30-2012, 09:17 AM
Cutter Re: Random numbers but 3... 07-30-2012, 10:20 AM
stunn Re: Random numbers but 3... 07-30-2012, 12:28 PM
tom.hogan Re: Random numbers but 3... 07-31-2012, 07:51 AM
  1. #1
    Forum Contributor
    Join Date
    01-25-2011
    Location
    Virginia
    MS-Off Ver
    Excel 2016
    Posts
    166

    Re: Random numbers but 3 numbers in sequence not allowed.

    Quote Originally Posted by NewGen View Post
    Patel45 and tom.hagan, thank you for your reply. It worked for patel45. Tom.hagan I am afraid I got a run time error "438" object doesn't support this property or method. Btw I am using Excel 2003.
    Thank you Cutter for your gentle reminder.
    Sorry, I used an Excel 2010 function, that's why you get the runtime error

    Tom

  2. #2
    Registered User
    Join Date
    07-28-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Random numbers but 3 numbers in sequence not allowed.

    Patel45, When I ran the code I managed to get random numbers without 3 consecutive numbers in sequence. It didn't quite appear right as some numbers may be in pairs such as 5-6 or 12-13 etc. I allowed pairs but not 3 or more consecutive numbers. I tried modifying your codes using And,Cells including changing Number > 2 but without success. Thank you for your patience.

+ 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