Results 1 to 10 of 10

List combinations VBA

Threaded View

  1. #1
    Registered User
    Join Date
    09-07-2015
    Location
    SoCal
    MS-Off Ver
    2010
    Posts
    5

    List combinations VBA

    Sry if this might already been covered, but I am new here and was unable to find my solution here. Please help.

    Attached is my simple worksheet and a VBA title Aisle working atm. But it crashes due to the results.

    In short what I need is a vba written or the existing one edited so that I get what I need in my final results.

    In said worksheet you will find 9 aisles that will have items placed in them. Only one item can be selected from each aisle. And it can not be repeated.

    So for ex: If apples is selected from aisle 1 ,,it no longer can be selected at any time throughout the process.

    Also I found that "duplicates" are occurring,,,which is making the total number of results exceed excel's limits,,and are not needed.

    EX: If Milk is selected from Aisle 5 and then Cheese is selected from Aisle 6 ,,my VBA will also include Cheese from Aisle 5 and then select Milk from Aisle 6. This is redundant. I do not need that as an option.

    So Milk,Cheese Is the same as Cheese,Milk,,in this example. if i could eliminate those "duplicates" I think that it might stop "crashing"

    Thanks in advance for ur help.

    Again if we need to write an entirely new vba ,,so be it..

    Also I would like the results to be listed on new sheet rather than active sheet.

    Thanks
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. List all combinations from 1 to 45
    By a1b2c3d4e5f6g7 in forum Excel General
    Replies: 4
    Last Post: 07-21-2014, 07:29 AM
  2. Need a list of combinations
    By Iduno in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-18-2013, 11:11 AM
  3. list possible combinations of 6 from 22
    By nlscarter in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-19-2013, 10:13 PM
  4. [SOLVED] List all combinations
    By olives in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 02-12-2013, 01:23 AM
  5. List Possible Combinations
    By Rizzle in forum Excel General
    Replies: 10
    Last Post: 09-29-2010, 09:36 AM
  6. [SOLVED] Count & List Combinations
    By sandip.dhamapurkar@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-20-2006, 11:40 AM
  7. List all possible combinations
    By Spencer Hutton in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2005, 04:06 PM

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