already
Board Regular
- Joined
- Nov 11, 2008
- Messages
- 179
Hello
When opening my file I went to full screen (sub workbook_open) with a macro and when I close my file I went back to a normal screen also with a macro (BeforeClose)
code = Application.DisplayFullScreen = False or True
When closing the file even when I change nothing in my file the save dialog box appears and this gives me a serious conflict with following
macro (excel and windows crash)
Sub savebutton()
Application.DisplayAlerts = false
ThisWorkbook.Save
Application.DisplayAlerts = True
ThisWorkbook.Close Saved = True
End Sub
How can I work around this?
Thanks in advance for your help
Kind regards
Al
When opening my file I went to full screen (sub workbook_open) with a macro and when I close my file I went back to a normal screen also with a macro (BeforeClose)
code = Application.DisplayFullScreen = False or True
When closing the file even when I change nothing in my file the save dialog box appears and this gives me a serious conflict with following
macro (excel and windows crash)
Sub savebutton()
Application.DisplayAlerts = false
ThisWorkbook.Save
Application.DisplayAlerts = True
ThisWorkbook.Close Saved = True
End Sub
How can I work around this?
Thanks in advance for your help
Kind regards
Al