DoMenuItem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When using Delete, Save etc command buttons, DoMenuItem code appears, and
works fine - but I have never been able to track down just what the
individual numerics in the code represent ie, 7, 8, 6 etc

Is there a convenient list of the these numerics and their actions?
 
In my opinion, you're far better off finding the appropriate method of the
DoCmd object, rather than relying on DoMenuItem codes.

Take a look in Help for the DoCmd object.
 
The numbers are the item numbers on the standard Access menus.

The numbers are zero-based, so 7 is the 8th item on the menu.

The version number at the end indicates the version of Access you have to
open to count to the menu item.
 
Back
Top