Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When i exit excel using the close 'X' top right of my page - it keeps
prompting me to save changes.I dont want it to save changes and just close.I either want to get rid of the 'X' or use some code so it doesnt prompt me to save.I am currently using this code but its not working for some reason.Any help out there please... Private Sub Workbook_Close() Application.DisplayAlerts = False Workbook.Close savechanges:=False End Sub Thks in adavnce Mark |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to set auto protect workbook on exit? | Excel Worksheet Functions | |||
How can I exit a workbook in Excel without closing the program? | Excel Discussion (Misc queries) | |||
[Fwd: Run macro on exit worksheet/workbook] | Excel Discussion (Misc queries) | |||
Run macro on exit worksheet/workbook | Excel Worksheet Functions | |||
Force no save on workbook exit | Excel Programming |