Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Menu Bars
Hello,
I have written a macro to produce a new menu bar. However in some cases it may already exist. I am struggling to write a pice of code that loops through the current menu bars and identifies if a specific bar is already present. Any Thoughts? Many Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Menu Bars
Hi
You can do this before you create it On Error Resume Next Application.CommandBars("MyToolBar").Delete On Error GoTo 0 ' Your code that create the bar -- Regards Ron de Bruin http://www.rondebruin.nl "Neil Hopkinson" wrote in message ... Hello, I have written a macro to produce a new menu bar. However in some cases it may already exist. I am struggling to write a pice of code that loops through the current menu bars and identifies if a specific bar is already present. Any Thoughts? Many Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Menu Bars | Excel Programming | |||
Lost all my menu bars and tool bars | Excel Discussion (Misc queries) | |||
New Menu on Worksheet & Chart Menu Bars | Excel Programming | |||
linking chart menu bars and worksheet menu bars | Excel Programming | |||
menu bars | Excel Programming |