Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Is there any way you can have a message so that it shows when hit the close
button - the message would ask a yes or no questions in a worksheet (Not the usual save message) |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm sure there is more to this question than you posted but..........
In Thisworkbook module. Private Sub Workbook_BeforeClose(Cancel As Boolean) MsgBox "Did you have a nutritious breakfast?" End Sub That code does nothing other than ask a question. Maybe post some more details of what you want to occur? Gord Dibben MS Excel MVP On Fri, 25 Sep 2009 10:36:01 -0700, Link wrote: Is there any way you can have a message so that it shows when hit the close button - the message would ask a yes or no questions in a worksheet (Not the usual save message) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Not getting messages in OE | Excel Worksheet Functions | |||
Save messages | Excel Discussion (Misc queries) | |||
Error Messages | Excel Discussion (Misc queries) | |||
Msg.box -messages | Excel Discussion (Misc queries) | |||
Off Topic Messages | Excel Worksheet Functions |