XL2000: How to Place a Check Mark Next to a Custom Menu Item (213735)
The information in this article applies to:
This article was previously published under Q213735 SUMMARY
When you create custom menus, you may want to add a check mark next to a particular menu item to show that the item is selected. For example, when you point to Filter on the Data menu and then click AutoFilter, a check mark is placed next to AutoFilter to show that the AutoFilter is currently turned on.
This article shows you how to programmatically add a check mark next to a custom menu item, using the new CommandBars object model.
NOTE: You cannot programmatically add a check mark next to a built-in menu item; you can add check marks only to custom items.
REFERENCESFor more information about Command Bars, click Microsoft Excel Help on the Help menu, type commandbar property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbinfo kbProgramming KB213735 |
---|
|