Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to supress a Save prompt?
Excel 2000
Windows 2k Pro I was hoping I could put some code in the Workbook_Close event handler that would suppress any save prompts. Can this be done, and if so, how? TIA -gk- |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to supress a Save prompt?
You could try adding the following lined of code to the Workbook_BeforeClose
event handler. Remember though, if you make any changes you'd like to keep, you must save before closing, else your changes will all be lost. ThisWorkbook.Saved=True D.S. "TBA" wrote in message ... Excel 2000 Windows 2k Pro I was hoping I could put some code in the Workbook_Close event handler that would suppress any save prompts. Can this be done, and if so, how? TIA -gk- |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to supress a Save prompt?
three ways at least to do this:
(1) Workbooks(SomeWorkbook).Close False ' false sats don't save (2) Application.DisplayAlerts = False Workbooks(SomeWorkbook).Close Application.DisplayAlerts = True (3) Workbooks(SomeWorkbook).Saved = True Workbooks(SomeWorkbook).Close Patrick Molloy Microsoft Excel MVP -----Original Message----- Excel 2000 Windows 2k Pro I was hoping I could put some code in the Workbook_Close event handler that would suppress any save prompts. Can this be done, and if so, how? TIA -gk- . -----Original Message----- Excel 2000 Windows 2k Pro I was hoping I could put some code in the Workbook_Close event handler that would suppress any save prompts. Can this be done, and if so, how? TIA -gk- . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Do you wish to save prompt | Excel Discussion (Misc queries) | |||
Save Changes Prompt | Excel Worksheet Functions | |||
save prompt for user exit, but no save prompt for batch import? | Excel Discussion (Misc queries) | |||
Save Prompt | Excel Worksheet Functions | |||
Save prompt | Excel Discussion (Misc queries) |