How to make Outlook 2010 warn user before exit?

1

1

Company has Outlook 2010 clients in use with an Exchange Server. The user accidentally closes the Outlook window and forgets that it is not open: the whole day may be gone without noticing.

One may not favor the "do you really want to do it" style dialogs of Microsoft fame, but in this specific scenario, it would be good if the user could voluntarily configure it to warn her/him and ask again what to do.

What I've tried, via a thread on answers.microsoft.com, is this solution from slipstick.com, basically:

  1. Open a new message – enter eg. "Keep the window open" as the subject. Don’t enter an address in the To field!
  2. Save the message to Drafts. Drag it from Drafts to the Outbox (not "Sent Mail").
  3. If using 2010, Switch to the Options tab
  4. If using 2010, Click the Delay Delivery button and enter a future date (a year or so should be fine.)
  5. When you exit Outlook, you’ll have the chance to cancel closing Outlook.

But article also warns that,

Please note, this only works in cached mode.
Delayed messages are stored on Exchange server in classic online mode.

Outlook here is in cached mode but still the method doesn't seem to have the effect.

Is there a way to make Outlook (2010) issue a warning (dialog?) before exiting? To ask the user whether he/she wants to exit?

n611x007

Posted 2014-05-27T10:24:00.623

Reputation: 5 291

1You may have to just run a script which fires every hour, detects if it's closed or not, and if so, open it. You can't really do this via VBa, Private Sub Application_Quit() (no overload for cancel the quit) – Dave – 2014-05-27T10:51:43.837

Answers

1

I know this does not answer the actual question but it helps to resolve the problem you are describing. There is the way to prevent Outlook from closing. This method will force outlook to minimize to tray when close using (X) button or ALT+F4.

  1. Download KeepOutlookRunning.dll (for your 32- or 64-bit system)
  2. Start Outlook as Administrator (right click on it in Start Menu)
  3. Go to File -> Options -> Add-Ins
  4. At the bottom: Manage [COM-Addins] press [Go...] [Add...] the KeepOutlookRunning.dll file downloaded in step 2
  5. Restart Outlook as a normal user

Outlook will be minimized instead of closing. To actual exit the program user can use File> Exit

The answer is taken from here. If it has helped you, please go and ++ original author, not me.

Art Gertner

Posted 2014-05-27T10:24:00.623

Reputation: 6 417

it really is something else but is nevertheless good enough in my situation. thanks! – n611x007 – 2014-05-27T13:32:46.227