vba code keeps getting interrupted code example

Example: excel vba "code execution has been halted”

'In Excel go into the VBA Editor and on the keyboard:

1.) Press and HOLD DOWN the "Ctrl" button
2.) Press "Pause/Break", TWO TIMES.
3.) Let go
4.) Press "F5"

'--------------------------------------------------------------------
'Occasionally during debugging, Excel gets confused and will
'constantly halt execution of one... or even all VBA programs.

'The above procedure corrects the problem.

Tags:

Vb Example