D
Dana DeLouis
Hi. I may be wrong, but our first difference is as mentioned...
His...
1,2,3,5,8,9
Mine...
1,2,3,5,7,9
I "think" the source of the difference is here.
When we get to 1,2,3,5,7,8
we both agree that this is not valid (ie 1,2,3,7,8 appeared earlier)
and the code sets blNew to False
The code goes on to increment F, and we have...
For F = E + 1 To 30
If Not blNew Then Exit For
We are exiting F here, and not checking 1,2,3,4,7,9
I noticed that in the beginning the code finds the first valid solution.
1,2,3,4,5,6
It then goes on to check
1,2,3,4,5,7
I believe the code was trying / or should, try to exit F here because
there is no need to check F as it goes from 7 to 30. I "Think" this is
the source of our differences.
Again... I may be wrong.
= = = = = = =
Dana DeLouis
His...
1,2,3,5,8,9
Mine...
1,2,3,5,7,9
I "think" the source of the difference is here.
When we get to 1,2,3,5,7,8
we both agree that this is not valid (ie 1,2,3,7,8 appeared earlier)
and the code sets blNew to False
The code goes on to increment F, and we have...
For F = E + 1 To 30
If Not blNew Then Exit For
We are exiting F here, and not checking 1,2,3,4,7,9
I noticed that in the beginning the code finds the first valid solution.
1,2,3,4,5,6
It then goes on to check
1,2,3,4,5,7
I believe the code was trying / or should, try to exit F here because
there is no need to check F as it goes from 7 to 30. I "Think" this is
the source of our differences.
Again... I may be wrong.
= = = = = = =
Dana DeLouis