How to exit from stuck VBA macro??

benjiboo

New Member
Joined
Dec 29, 2005
Messages
3
I don't seem to find a way to exit from my macros if I've programmed them wrongly and I'm stuck in a loop.

So far my only resource is to restart the PC. There's got to be a better way.

I am running excel and VBA on a PC, used to program on Macs where I could escape when I ran into programming glitches.


Thanks for any help!

benji
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Thanks for the suggestions.

[esc] and (Ctrl [esc] too) i'd already tried to no avail.

Which key is [break] exactly???

(I'm on a Frenc keyboerd btw)
 
Upvote 0
Now I've got it! It was a key named [arr déf], to the right of my function keys (laptop) and left of [pause] key.

Thanks for your time, much appreciated, wishing you a very good day and happy new year!

:biggrin:
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top