ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to remove an Excel Main Menu item inserted by .xla file (https://www.excelbanter.com/excel-discussion-misc-queries/724-how-remove-excel-main-menu-item-inserted-xla-file.html)

Dennis

How to remove an Excel Main Menu item inserted by .xla file
 
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

Frank Kabel

Hi
one way: Close Excel and start it again.

--
Regards
Frank Kabel
Frankfurt, Germany

"Dennis" schrieb im Newsbeitrag
...
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



Peo Sjoblom

Try this, do viewtoolbarscustomize, 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)



"Dennis" wrote in message
...
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




Dennis

Got it!

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

End Sub


Thanks

"Dennis" wrote:

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


Dennis

I tried that Frank and it did not work.

Thanks for taking your time!!

Dennis

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

"Frank Kabel" wrote:

Hi
one way: Close Excel and start it again.

--
Regards
Frank Kabel
Frankfurt, Germany

"Dennis" schrieb im Newsbeitrag
...
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




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

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

"Peo Sjoblom" wrote:

Try this, do viewtoolbarscustomize, 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)



"Dennis" wrote in message
...
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






All times are GMT +1. The time now is 05:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com