ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Deleting Command Bars on close of a workbook (https://www.excelbanter.com/excel-programming/344834-deleting-command-bars-close-workbook.html)

Stan Bottorff

Deleting Command Bars on close of a workbook
 
I have found code to delete the custon command bars, I put it in a macro and
it will delete the command bar I list.

I need to find out how to delete a command bar from the computer, when I
close an Excel workbook. I have several custon command bars and the list gets
to long.



Tom Ogilvy

Deleting Command Bars on close of a workbook
 
Put the delete code in the the BeforeClose event

See Chip Pearson's page on events if you are not familiar:

http://www.cpearson.com/excel/events.htm

--
Regards,
Tom Ogilvy

"Stan Bottorff" <Stan wrote in message
...
I have found code to delete the custon command bars, I put it in a macro

and
it will delete the command bar I list.

I need to find out how to delete a command bar from the computer, when I
close an Excel workbook. I have several custon command bars and the list

gets
to long.






All times are GMT +1. The time now is 09:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com