Emergency !!!

matthew230

Board Regular
Joined
Jan 2, 2006
Messages
152
Hi,

I have spent the whole day coding a little utility to automate some document production.

Unfortunately during testing I have managed to lock it into some kind of loop. I have a macro instructing it to print a sheet from a userform button. It has now opened the print preview screen, but I forgot to hide the userform, and now everything is jut binging at me when I click on it.

I checked when I had last saved it, and it was 2 hours ago !!

Anybody know any tricks to get out of this l

Thanks,

Matt
 
there must be some other problem than your code, do you not use Autorecover in which case closing Excel will only lose the amount of data from the last auto save
 
Upvote 0

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,216,236
Messages
6,129,652
Members
449,526
Latest member
hmoh

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