+ Reply to Thread
Results 1 to 8 of 8

Macro/Code to get all possible combinations

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-21-2010
    Location
    Chicago,Illinois
    MS-Off Ver
    Excel 2019
    Posts
    206

    Macro/Code to get all possible combinations

    I want to get all possible combinations for a pick 5 game with the numbers being 1-39. Hopefully this is can be done.
    Last edited by Jordans121; 11-15-2010 at 01:00 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro/Code to get all possible combinations

    If you Google excel combinations and permutations you get thousands of options to aid you.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    01-21-2010
    Location
    Chicago,Illinois
    MS-Off Ver
    Excel 2019
    Posts
    206

    Re: Macro/Code to get all possible combinations

    I've already tried that but cant find what I'm looking for

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro/Code to get all possible combinations

    Took 5 minutes to Google this up...

    http://www.ozgrid.com/forum/showthre...t=28321&page=1
    Attached Files Attached Files
    Last edited by JBeaucaire; 11-15-2010 at 03:10 AM. Reason: Corrected macro

  5. #5
    Forum Contributor
    Join Date
    01-21-2010
    Location
    Chicago,Illinois
    MS-Off Ver
    Excel 2019
    Posts
    206

    Re: Macro/Code to get all possible combinations

    i dont quite understand it even after reading it. I downloaded the sheet but the button does not produce anything.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro/Code to get all possible combinations

    Try it again. It's a long wait, though.

  7. #7
    Forum Contributor
    Join Date
    01-21-2010
    Location
    Chicago,Illinois
    MS-Off Ver
    Excel 2019
    Posts
    206

    Re: Macro/Code to get all possible combinations

    Thanks a million JBeaucaire !!!!! It actually only took about 10 secs

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro/Code to get all possible combinations

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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