Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have been trying to get a file to remove a toolbar when the file is closed.
Currently the toolbar is generated with code upon opening the file. This works good. But, I cannot figure out how to get it to delete when I close the file. This is what I have at this point: Private Sub App_WorkbookBeforeClose(ByVal Wb As Workbook, _ Cancel As Boolean) Application.CommandBars("my toolbar").Delete Cancel = False End Sub TIA |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Removing check boxes (forms toolbar) | Excel Worksheet Functions | |||
Having problem removing toolbar envelope. | Excel Discussion (Misc queries) | |||
Removing custom toolbar from Excel 2003 | Excel Discussion (Misc queries) | |||
Removing all code from a Project | Excel Programming | |||
Removing a module with code | Excel Programming |