Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi.
I did find a way: Sub Workbook_BeforeClose(Cancel As Boolean) a = MsgBox("Fik du rettet navnet på det nye ark ?", vbYesNo) If a = vbNo Then Cancel = True end sub Thank you Peter |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
beforeclose | Excel Programming | |||
EnableEvents BeforeClose | Excel Programming | |||
BeforeClose Problem | Excel Programming | |||
vba advice how 2get a input box to quit by entering the word quit+ 4 a msgbox to disp | Excel Programming | |||
BeforeClose vs Auto_Close | Excel Programming |