![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Location: mhague
Posts: 14
|
I have this code below which creates a custom menu in my Excel sheet. How do I make the Menu Item 'Checked' when the user selects it?
Thx - Marcie MenuBars(xlWorksheet).Menus.Add "&General Ledger", "&Window" With MenuBars(xlWorksheet).Menus("General Ledger").MenuItems .Add "&All Departments ", OnAction:="AllDepartments" End With |
|
|
|
|
|
#2 |
|
New Member
Join Date: Mar 2002
Location: mhague
Posts: 14
|
Never mind - figured it out:
MenuBars(xlWorksheet).Menus("General Ledger").MenuItems("Set EOY Flag").Checked = True |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|