Microsoft KB Archive/142418

= Breakpoints Assigned to Buttons May Not Stop Macro =

Article ID: 142418

Article Last Modified on 8/17/2005

-

APPLIES TO


 * Microsoft Excel 95 Standard Edition
 * Microsoft Excel 5.0 Standard Edition
 * Microsoft Excel 98 for Macintosh
 * Microsoft Excel 5.0a
 * Microsoft Excel 5.0c
 * Microsoft Excel 5.0 for Macintosh
 * Microsoft Excel 5.0a for Macintosh

-



This article was previously published under Q142418



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: 5.00c 5.0 5.0c 5.00a 98 XL

Keywords: KB142418

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.