Run a Macro Line by Line
Here is how to run a macro one line at a time. This is useful sometimes when debugging, or resuming line by line from a breakpoint.
F8 is the key!
In the visual basic editor, place your cursor inside of the macro and hit F8. This will run the first line of your code. Hit F8 to run each additional line, or F5 to resume without stopping.
VBA Coding Made Easy
Stop searching for VBA code online. Learn more about AutoMacro – A VBA Code Builder that allows beginners to code procedures from scratch with minimal coding knowledge and with many time-saving features for all users!