I want to write the following code, but MenuItems do not appear to have a name property (although the IDE seems be able to find it).
I don't want the Text property (e.g. &File), I want the name (e.g. mnuFile).
Anybody got any ideas?
VB Code:
'List the menu items. Dim mnu As MenuItem For Each mnu In MainMenu1.MenuItems Debug.Write(mnu.Name & vbCrLF) Next mnu




Reply With Quote