I have simplified a workbook to leave only substitution of the standard menu and delete/restore Formula and Status Bars. The custom menu has the only button exit which seems to be a problem. You can close the workbook using either this button or just closing it with a standard cross button in...
Here it is...
Private Sub Workbook_Open()
On Error Resume Next
Application.ScreenUpdating = False
InitView
Sheets("1st page").Select
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
On Error Resume Next
Application.ScreenUpdating = False...
Excel does not restore a Formula Bar. I wrote codes for Open and BeforeClose events to hide and restore Formula, Menu and Tool Bars. It works perfectly when you launch it from VBA editor, but when you open and close a workbook it restores everything but a Formular Bar. I can't understand why...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.