How to remove an Excel Main Menu item inserted by .xla file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Excel 2003 & 97

Thought I knew how to do this. But ...

An .xla file placed a new item on the Main Menu (along with File, Edit,
........ Help, Misc) Let us call it "Misc".

I removed the Misc.xla file from Addins folder and forced Excel to ask me to
remove it from the Addins list.

But the Misc is still on the Main Menu bar.

How do I get rid of it?

TIA Dennis
 
Try this, do view>toolbars>customize, grab the offending menu and drag it
from any menu toolbar (I usually drag it to the sheet)

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)
 
Got it!

Sub DeleteMenuBarItem()
Application.CommandBars("Worksheet Menu Bar").Controls("Misc").Delete

End Sub


Thanks
 
I tried that Frank and it did not work.

Thanks for taking your time!!

Dennis

****************************************
 
Peo,

Your solution is what I learned a year ago, but unfortunately forgot about
it because I had not
used it recently!

Thanks Dennis

********************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top