Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Aborting Excel Exit

I have a fairly large Excel VBA Application (3MB) which
loads as an add-in. Since it takes a fair amount of time
to load oer the network whenever users start Excel, users
have requested that I add a Message Box to ask them if
they really want to exit Excel as sometimes they simply
want to close a workbook but inadvertently close Excel
which requires reloading the 3MB add-in. I can display the
MsgBox using the Auto_Close procedure but cannot seem to
figure out how to keep Excel from exiting should the user
indicate they do not want to exit. Does anyone know how I
can cancel the exit from within the add-in? Thanks.

Frank
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Aborting Excel Exit

Nevermind, I solved it using Events


-----Original Message-----
I have a fairly large Excel VBA Application (3MB) which
loads as an add-in. Since it takes a fair amount of time
to load oer the network whenever users start Excel, users
have requested that I add a Message Box to ask them if
they really want to exit Excel as sometimes they simply
want to close a workbook but inadvertently close Excel
which requires reloading the 3MB add-in. I can display

the
MsgBox using the Auto_Close procedure but cannot seem to
figure out how to keep Excel from exiting should the user
indicate they do not want to exit. Does anyone know how I
can cancel the exit from within the add-in? Thanks.

Frank
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlink to exit Excel Pimamedic Excel Worksheet Functions 8 April 23rd 08 12:11 AM
Aborting save Roger Nye Excel Discussion (Misc queries) 2 August 17th 07 07:08 PM
Excel 07 won't exit Elle Setting up and Configuration of Excel 0 July 27th 07 12:40 AM
exit excel welshwizzard Excel Discussion (Misc queries) 1 January 18th 05 12:02 AM
aborting a sub solo_razor[_7_] Excel Programming 1 September 18th 03 09:41 AM


All times are GMT +1. The time now is 02:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"