XL2000: How to Programmatically Delete and Restore a Menu That Contains a Submenu (213437)
The information in this article applies to:
This article was previously published under Q213437 SUMMARY
This article describes how to programamtically delete and restore a menu that contains a submenu. If you use a Microsoft Visual Basic for Applications macro to delete a menu item that contains a submenu, and then you want to restore the menu item, use the Addmenu command, not the Add command. Addmenu adds a new menu (or submenu), whereas Add adds a new menu item.
REFERENCESFor additional information about the list of menu ID numbers, click the article number below
to view the article in the Microsoft Knowledge Base:
213552 XL2000: List of ID Numbers for Built-In CommandBar Controls
| Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
|---|
| Keywords: | kbdtacode kbhowto kbinfo kbProgramming KB213437 |
|---|
|