Good afternoon.
I have a workbook where I have hidden the Ribbon & most eveerything else on opening. Everything gets returned to its previous state with:-
What I'd like to be able to do is have a 'Close' button that saves & closes the workbook. In fact I do have that;
but it doesn't trigger the Before_Close macro.
Any idea what I need to do?
Many thanks,
D€$
I have a workbook where I have hidden the Ribbon & most eveerything else on opening. Everything gets returned to its previous state with:-
Code:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
What I'd like to be able to do is have a 'Close' button that saves & closes the workbook. In fact I do have that;
Code:
ActiveWorkbook.Close SaveChanges:=True
but it doesn't trigger the Before_Close macro.
Any idea what I need to do?
Many thanks,
D€$