Hi everyone,
First of all, sincere apologies if this post is less than stellar, but I am very new to VBA.
I'm currently working on a piece of code that runs 1000 times. Every 10th time the code runs it kicks off another procedure which prints a line on a sheet when it is finished. When I step through the code everything is fine but when I run the procedure that kicks off ever ten times only runs a few times, instead of 100 times. When I change the parameters to 20000 runs and have the procedure every 500 times it works correctly. It's almost as if when I run the code in smaller increments it runs too quickly. As if the code keeps running before the line gets printed.
I'll post the code shortly but has anyone seen anything like this before?
Thanks in advance for the help.
Bookmarks