LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
PST PST is offline
external usenet poster
 
Posts: 29
Default Debug.Print convert vba


I have series of 1000 favorite combinations
pick 3 1000
pick 4 1000
pick 5 1000
pick 6 1000

ex: With the series of pick 3

I would like to convert them into combinations of 7 maximum

If I put value 7 in maximum,

the macro one must give me
_the combinations of 7 possible,
_then of 6,
_then of 5,
_then of 4,
_then of 3

If I put value 6 in maximum
_the combinations of 6 possible
_then of 5,
_then of 4,
_then of 3


the same combinations must be found in the modified combinations.

ex:
Comb 1: 1,2,3
Comb 2: 1,2,4
Comb 3: 1,2,5

the result a combination of 5

1,2,3,4,5

Comb 1: 1,2,3
Comb 2: 1,2,4
Comb 3: 1,2,5
Comb 3: 1,2,6

Another ex:
the result a combination of 6

1,2,3,4,5,6

The goal is to decrease the combinations but by finding about the same
ones.

I do not know if I were clearly

thank you


Dana DeLouis a écrit :
I have another question about the combinations, if it is possible.


Glad it worked. :)
Sure...What's your question?




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
question about debug.print Gary Keramidas[_4_] Excel Programming 4 September 29th 05 01:14 AM
place output of several debug.print statements on the same line [email protected] Excel Programming 1 August 24th 05 08:40 PM
debug.print range "full" address Patti[_2_] Excel Programming 5 July 6th 05 09:27 PM
Debug.Print in a WITH procedure? Toby Erkson[_3_] Excel Programming 4 December 15th 04 10:05 PM
Debug.Print ExcelMonkey[_80_] Excel Programming 1 February 6th 04 04:04 PM


All times are GMT +1. The time now is 07:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"