Hi I have the following code (see below) which generates a random number between a lower and an upper limit. It then recalculates the worksheet 1000 times, each time adding the random number to a cumulative total, the only problem is I do not know how to add a counter, a counter is used to keep track of how many times the loop has repeated. The counter is a variable that I want to create especially for this purpose. Can someone please help me incorporate this into the code.
![]()
Please Login or Register to view this content.
Bookmarks