XL: Breakpoints Assigned to Buttons May Not Stop Macro

ID: Q142418

The information in this article applies to:

SYMPTOMS

In Microsoft Excel, a breakpoint that you assign to a button in a custom dialog box may fail to stop the macro.

MORE INFORMATION

When you assign a macro to a button in a custom dialog box, you can use the Show method to display another custom dialog box. If you use a button in the first dialog box to display the second dialog box, a breakpoint that you assign to a button in the second dialog box fails to stop the macro. However, if you use the Run Dialog button on the Forms toolbar to display the second dialog box, or if you run a macro without starting it with a button in a custom dialog box, the breakpoint does stop the macro.

Additional query words: 7.00 5.00 5.00c 5.0 5.0c 5.00a 98

Version           : WINDOWS: 5.0, 7.0; MACINTOSH: 5.0, 98
Platform          : MACINTOSH WINDOWS

Last Reviewed: February 4, 1998