Thread: Empty toolbars
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bernie Deitrick[_2_] Bernie Deitrick[_2_] is offline
external usenet poster
 
Posts: 176
Default 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