If I want to stop my code from executing on a PC, I know I just need to press ctrl+break. But since my Mac has no "break" key I am not sure what to do?
What is the equivalent in Mac?
Use ⌘. on Mac to stop the code.
The ⌘ . or ctrl ESC keys do not function exactly like on the PC. They do not break to the debugger on a modal dialog box. Use ESC ESC (Press the ESC twice) to bring up a dialog that allows you to enter the debugger at the location in code of the dialog box display. Tested in Excel VBA 2011
cntrl-esc works like cntrl-break on my macbook pro to stop Excel vba running under Windows 7.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With