I hope explain myself clearly first time.
I have inherited a macro over 3000 lines long with 17 sub routines in it.
I have a small scale project to understand how it works.
At the moment I am working through hitting F8 repeatedly, until I get to a clear loop where I am putting a Stop and then F5ing.
Is there any way I can put markers into the code to run it and see where it went with the sample data I have used for it to process.
Sometimes the macro seems to fall over and lose itself. Not sure if this is because I gone off to see what is happening in the excel sheets.
Any suggestions would be great.
Many thanks for reading this.
Hankj
I have inherited a macro over 3000 lines long with 17 sub routines in it.
I have a small scale project to understand how it works.
At the moment I am working through hitting F8 repeatedly, until I get to a clear loop where I am putting a Stop and then F5ing.
Is there any way I can put markers into the code to run it and see where it went with the sample data I have used for it to process.
Sometimes the macro seems to fall over and lose itself. Not sure if this is because I gone off to see what is happening in the excel sheets.
Any suggestions would be great.
Many thanks for reading this.
Hankj