Now that you have identified the problem area, you can stop the code execution by resetting the program (either by selecting Run, Reset or using the Reset button in the toolbar; see Figure 2.22). After pressing Reset, you should return to Excel and undo anything done by the partially completed macro. In this case, close the invoice.txt file without saving.

Figure 2.22

The Reset button in the toolbar stops a macro that is in break mode.

Run Tools

0 0

Post a comment