delete custom toolbar

B

billQ

Hello,
I need to find out where to delete a custom tool bar. Currently, I delete
it in the Before_Close sub of the workbook. The behavior I don't like is
when you choose cancel at the save workbook message box the toolbar is
deleted. Is there a way to handle the messages from the save dialog box to
delete the toolbar only if the workbook is actually closed?
thanks
bill
 
R

Ron de Bruin

Try this events

Private Sub Workbook_Activate()

End Sub

Private Sub Workbook_Deactivate()

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top