Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Oh, yes. What I was thinking was EnableEvents = False. Sorry.
-- I am running on Excel 2003, unless otherwise stated. "Mike H" wrote: Stopping display alerts will have no impact on events "Orion Cochrane" wrote: The example you gave with turning display alerts off may have been used; use the activeworkbook.close savechanges:=true example instead. Take out the application.displayalerts=false line. You can also use ThisWorkbook instead of ActiveWorkbook to narrow it down to the workbook containing the macro. -- I am running on Excel 2003, unless otherwise stated. Please rate posts so we know when we have answered your questions. Thanks. "Mike H" wrote: It sounds like your disabling events somewhere when you close this book and they remain disabled until the application is closed and re-opened. I suspect you have other code somwhere in this book. Mike "kirkm" wrote: On Fri, 17 Oct 2008 00:55:00 -0700, Mike H wrote: Hi, Activeworkbook.close Thanks Mike, that did work but had an odd side effect. If I open the workbook again, none of the double click events work. (Until I close and Open Excel again). These usually fire 'Private Sub Worksheet_BeforeDoubleClick'. but this is completly bypassed somehow. I wonder why, any idea? Thanks - Kirk |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Application.Quit Does not Close the Application | Excel Programming | |||
Application.quit | Excel Programming | |||
difference application.quit & application.close | Excel Programming | |||
macro to close excel application other than application.quit | Excel Programming | |||
application.quit will not shut off application | Excel Programming |