'Count the number of trys my VBA took to find numbers that fit paremeters?
How can I count the number of trys my VBA took to find numbers that fit my paremeters?
In simple terms I have a the code check if a set of random numbers fit some parameters when it doesn't it runs the code again creating a new set of numbers. I would like to know how many sets it gets through to find the rigth numbers.
I have tried static numbers but they dont reset when I run the code manualy again.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
