There is no such shortcut because there is really no such command for
a shortcut to point to. You set the EnableCancelKey property to
xlInterrupt which will cause the debugger to stop on the currently
executing command. This is fine for development and testing, but
should not be used in production code for the end users.
Sub AAA()
Application.EnableCancelKey = xlInterrupt
' your code here
End Sub
Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]
On Tue, 9 Feb 2010 11:43:54 -0000, "Michelle"
Hello, I use F5 and F8 to run and debug my code, is there a key that
will
stop the debugger?
I always feel like 'Esc' should do it, but it doesn't
M