auto_close

  1. Jaafar Tribak

    'Auto_Close' missing 'Cancel' argument

    Hi, I looked at a question posted in the forum which intrigued me to wonder if there is some way to abort the closing down of a workbook within the excel AutoMacro Auto_Close . Something similar to setting the Cancel arg to True in the Workbook_BeforeClose event. Any thoughts ? Regards.
  2. RobbieC

    Custom 'cancel' on Auto_Close

    Hi there, I have a 'very customised' spreadsheet which I have replaced all alert boxes with customised userforms. I have a form called CloseAreYouSure which is triggered when Auto_Close kicks in. This just confirms whether or not the application is to close down with a 'yes' & 'no' button: Sub...
  3. J

    Auto_Close() Macro

    I was changing an old program and noticed that the Auto_Close() macro was not closing Excel completely as it used to with only 1 workbook open. The following code only closes Excel completely if you press the Close Window X (the lower of the 2 X's in the upper right corner). Using the Top X runs...
  4. V

    Reset/stop 'Auto_Close' sub midway, so workbook is not closed?

    Is it possible to reset an 'Auto_Close' sub if a condition is met midway, so that the workbook stays open?

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