Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks again, that works great!
-- EW - Analyst "Bernie Deitrick" wrote: EW, I mistakenly left in an extra . Application.CommandBars("Cell").Controls.("Add reservation").Delete should be Application.CommandBars("Cell").Controls("Add reservation").Delete If you already have a workbook_beforeclose event, then you need to modify the existing procedure rather than add a second procedure of the same name. HTH, Bernie MS Excel MVP "ewagz" wrote in message ... I seem to be having difficulties using the code and VBA is high lighting the following code line: Application.CommandBars("Cell").Controls.("Add reservation").Delete I am also receiving the following error message when trying to run the macro: Compile Error: Ambigous name detected: workbook_beforeclose I'm using MS Excel 2000 -- EW - Analyst |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Right click menu | Excel Programming | |||
Add menu item to right-click menu | Excel Programming | |||
Right click menu | Excel Programming | |||
Adding a menu item right click menu when clicking on a single. | Excel Programming | |||
Adding menu to the mouse right click pop-up menu | Excel Programming |