I have the following code in a module which is executed via a button in a worksheet which is supposed to return Excel to it's normal state
Which executes the following in 'ThisWorkbook'
Also, when I step through the Deactivate code none of the actions happen on screen. ScreenUpdating is set to TRUE
TIA
Code:
Sub ExitTool()
ActiveWorkbook.Close savechanges:=False
End Sub
Code:
Private Sub Workbook_Deactivate()
Application.DisplayFullScreen = False
Application.DisplayFormulaBar = True
ActiveWindow.DisplayHeadings = True
ActiveWindow.DisplayWorkbookTabs = True
End Sub
TIA