You have not initialised variables i or Counter. The first time through the loop, they may or may not be zero, then they are incremented. Put a Debug.Print statement in there to see what's happening.
↧
You have not initialised variables i or Counter. The first time through the loop, they may or may not be zero, then they are incremented. Put a Debug.Print statement in there to see what's happening.