I made this change and it solved error 6. It resulted in Run-Time error '7': Out of memory arising. I managed to resolve this issue.
The new code produces 15 solutions with the original inputs but only 10 with the updated inputs.
I have attached an example .xlsm document to highlight this.
Bookmarks