Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Empty toolbars
I created a VBA macro that deleted every item in every one of my toolbars.
Obviously, that's not what I wanted it to do and I've reset all he standard toolbars provided with Excel. However, now when I try to bring up the 'right-click' menu bar; it comes up but there are no commands in it. All I get is a blank grey box. It's the pop-up menu minus any commands. I've tried repairing my Office installation, I've uninstalled and reinstalled with no success at retrieving the pop-ups. I even tried rebuilding them manually using the Customize option for Excel toolbars but the pop-ups can't be modified in the same way that all the others are. Can somebody help me fix my screw up? Jeff |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Empty toolbars
Jeff,
Try this: Sub ResetAllCommandbars() Dim CmdBar As CommandBar For Each CmdBar In Application.CommandBars CmdBar.Reset Next CmdBar End Sub HTH, Bernie MS Excel MVP "Jeff Harbin" wrote in message link.net... I created a VBA macro that deleted every item in every one of my toolbars. Obviously, that's not what I wanted it to do and I've reset all he standard toolbars provided with Excel. However, now when I try to bring up the 'right-click' menu bar; it comes up but there are no commands in it. All I get is a blank grey box. It's the pop-up menu minus any commands. I've tried repairing my Office installation, I've uninstalled and reinstalled with no success at retrieving the pop-ups. I even tried rebuilding them manually using the Customize option for Excel toolbars but the pop-ups can't be modified in the same way that all the others are. Can somebody help me fix my screw up? Jeff |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Empty toolbars
Do you men if you right click on a cell?
Sub resetCellmenu() With Application.CommandBars("Cell") .Reset .Enabled = True End With End Sub Or right click on one of your Toolbars to get a list off all your toolbars Then use this Application.CommandBars("toolbar list").Enabled = True -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "Jeff Harbin" wrote in message link.net... I created a VBA macro that deleted every item in every one of my toolbars. Obviously, that's not what I wanted it to do and I've reset all he standard toolbars provided with Excel. However, now when I try to bring up the 'right-click' menu bar; it comes up but there are no commands in it. All I get is a blank grey box. It's the pop-up menu minus any commands. I've tried repairing my Office installation, I've uninstalled and reinstalled with no success at retrieving the pop-ups. I even tried rebuilding them manually using the Customize option for Excel toolbars but the pop-ups can't be modified in the same way that all the others are. Can somebody help me fix my screw up? Jeff |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Empty toolbars
Menu customizations are stored in your *.xlb file. It usually is named
excel.xlb. I am using xl2000 and it is in C:\Documents and Settings\ogilvtw\Application Data\Microsoft\Excel If you rename this to something like ExcelOld.Old or move it somewhere else, you should get the default menus. If you then customize these, a new xlb file will be created. In xl97, the file was located in the windows subdirectory. It might be named UserId.xlb (your userid). -- Regards, Tom Ogilvy "Jeff Harbin" wrote in message link.net... I created a VBA macro that deleted every item in every one of my toolbars. Obviously, that's not what I wanted it to do and I've reset all he standard toolbars provided with Excel. However, now when I try to bring up the 'right-click' menu bar; it comes up but there are no commands in it. All I get is a blank grey box. It's the pop-up menu minus any commands. I've tried repairing my Office installation, I've uninstalled and reinstalled with no success at retrieving the pop-ups. I even tried rebuilding them manually using the Customize option for Excel toolbars but the pop-ups can't be modified in the same way that all the others are. Can somebody help me fix my screw up? Jeff |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Empty toolbars
Yep. Thanks very much. This is how I corrected the problem.
I actually figured it out myself from Microsoft's website. Yesterday when I did a search I used "toolbars" and didn't find what I was looking for. This morning I tried "pop-up menus" and found an article that helped me. Thanks for the help and sorry for the unnecessary post. "Tom Ogilvy" wrote in message ... Menu customizations are stored in your *.xlb file. It usually is named excel.xlb. I am using xl2000 and it is in C:\Documents and Settings\ogilvtw\Application Data\Microsoft\Excel If you rename this to something like ExcelOld.Old or move it somewhere else, you should get the default menus. If you then customize these, a new xlb file will be created. In xl97, the file was located in the windows subdirectory. It might be named UserId.xlb (your userid). -- Regards, Tom Ogilvy "Jeff Harbin" wrote in message link.net... I created a VBA macro that deleted every item in every one of my toolbars. Obviously, that's not what I wanted it to do and I've reset all he standard toolbars provided with Excel. However, now when I try to bring up the 'right-click' menu bar; it comes up but there are no commands in it. All I get is a blank grey box. It's the pop-up menu minus any commands. I've tried repairing my Office installation, I've uninstalled and reinstalled with no success at retrieving the pop-ups. I even tried rebuilding them manually using the Customize option for Excel toolbars but the pop-ups can't be modified in the same way that all the others are. Can somebody help me fix my screw up? Jeff |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
why a reference to an empty cell is not considered empty | Excel Discussion (Misc queries) | |||
in excel..:can't empty clip are" but already empty | Excel Discussion (Misc queries) | |||
Excel - Autom. Filter "Empty / Non Empty cells" should come first | Excel Discussion (Misc queries) | |||
How can I convert empty strings to empty cells? | Excel Discussion (Misc queries) | |||
Can blank cells created using empty Double-Quotes not be empty?? | Excel Programming |