Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
disable pop up when overwrithing saved files
Put this in a standard module. You can call it from a
Command Buttom or Forms button. Sub CloseMe() With Application .ScreenUpdating = False .DisplayAlerts = False End With ActiveWorkbook.Close True End Sub Put this in the ThisWorkbook module. Private Sub Workbook_BeforeClose() With Application .ScreenUpdating = True .DisplayAlerts = True End With End Sub Hope that helps, Smitty -----Original Message----- How do I incooperate code that will automatically save an existing file and not prompt me with the pop up window of 'A file named Invoice Report already exists in this locatin. Do you want to replace it?. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Files saved as csv files are actually saved as text files? | Excel Discussion (Misc queries) | |||
How do I disable backup files from Excel Queries? | Excel Discussion (Misc queries) | |||
Changes are not saved on files | Excel Discussion (Misc queries) | |||
disable pop up when overwrithing saved files | Excel Programming | |||
disable pop up when overwrithing saved files | Excel Programming |