A
Alseikhan
A workbook has the subroutine attached to workbook:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Call DeleteMenu
End Sub
to delete custom menu before closing the workbook.
However, if a user changes mind and presses Cancel to keep workbook
open, the custom menu is deleted anyway!
How do you solver this problem?
Thank you.
Alseikhan
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Call DeleteMenu
End Sub
to delete custom menu before closing the workbook.
However, if a user changes mind and presses Cancel to keep workbook
open, the custom menu is deleted anyway!
How do you solver this problem?
Thank you.
Alseikhan