Anyone have a great way of testing the speed of certain sections of VBA code? I have a program that takes some time and goes through a ton of loops. I'm interesting in testing each section of the code to see which parts take the longest to run through. Which lines/formulas take the longest. For example, if my code takes 30 minutes to run in full, and one particular section accounts for 90% of that time, then I would want to focus in on improving just that part. I know I could have the code print times after every line, but it's already a lengthy macro as is, and it seems like there must be a better way to do a speed analysis?