Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Perfect!!!
Thanks....I was thinking about using enable events but just couldn't figure out how..... -- Ak "Barb Reinhardt" wrote: You could go to the immediate window and type APplication.EnableEvents = False and save it. Then turn the events back on if you need them. -- HTH, Barb Reinhardt "Ak Man" wrote: Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) MsgBox "Cannot Save this Workbook...Closing Excel!!!" Application.DisplayAlerts = False ActiveWorkbook.Close Application.DisplayAlerts = True Application.Quit End Sub -- Ak |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Save, save as, page setup dimmed out in unprotected excel sheet? | Excel Discussion (Misc queries) | |||
Disable save, save as, but allow save via command button | Excel Programming | |||
How to diasble save and save as menu but allow a save button | Excel Programming | |||
how to get disk icon on save button of save as dialog like 2000 | Excel Discussion (Misc queries) | |||
Totally Disabling (^ save ) (Save as) and Save Icon – Which code do I use: | Excel Programming |