How to Delete and Restore a Menu That Has a Submenu (125423)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
This article was previously published under Q125423 For a Microsoft 2000 version of this article, see 213437.
SUMMARY
In a Visual Basic for Applications macro, if you delete a menu item that
has a submenu and you want to restore it, use the Addmenu command, not the
Add command. Addmenu adds a new menu (or submenu), while Add adds a new
menu item.
REFERENCES
For additional information about getting help with Visual Basic for
Applications, please see the following article in the Microsoft Knowledge
Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/10/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB125423 |
---|
|