I have a macro that creates an array, populates it with random numbers then dumps it into a sheet.
Its quite large, and I'm seeing obvious patterns in the output, so doesn't look remotely random... I've added a test workbook, but depending on PC spec, might not run in a friendly manner... Be warned. Iv'e cut it down as small as I can to be able to see the results... my actual scrip populates 333x333 cells, this does 50x50
My question is either...
Can someone spot anything in my code that would make this more random
OR
Can I shuffle the array a few times after it's created, so add some more "randomness" to it?
This code was created from tutorials and forum posts, I'm "OK" at vba, but quite novice.
Many thanks in advance for anyones time and help, regardless of whether it solves my issue.Please Login or Register to view this content.
Bookmarks