#1   Report Post  
Posted to microsoft.public.excel.misc
winqan
 
Posts: n/a
Default custom menu

a custom menu (operated with some macro) always appears when I open the
workbook although I deleted it (or changed its name) before already. How can
I pernamently delete it?
  #2   Report Post  
Posted to microsoft.public.excel.misc
ExcelPower
 
Posts: n/a
Default custom menu


Public Sub RemoveCustomMenu()
Dim cbWSMenuBar As CommandBar
On Error Resume Next
Set cbWSMenuBar = CommandBars("Worksheet Menu Bar")
cbWSMenuBar.Controls("Menu").Delete
End Sub
'*******************


"Menu" Is the Name of Menu at my place u can replace it by the name
given by u

with regards

Excel Power


--
ExcelPower
------------------------------------------------------------------------
ExcelPower's Profile: http://www.excelforum.com/member.php...o&userid=30964
View this thread: http://www.excelforum.com/showthread...hreadid=508847

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Menu Help EAB1977 Excel Worksheet Functions 1 November 12th 05 02:02 AM
Excel 2000 Custom Menu Item Larry Bird Excel Discussion (Misc queries) 0 November 8th 05 09:25 PM
Custom menu Alan M Excel Worksheet Functions 4 September 19th 05 12:57 AM
Remove custom menu Excel Discussion (Misc queries) 5 March 8th 05 06:06 PM
Deleting custom Commands from File Menu are nor saved next time w. EXCEL CUstomization Excel Worksheet Functions 3 December 7th 04 02:46 AM


All times are GMT +1. The time now is 05:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"