DoMenuItem

G

Glynn

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?
 
D

Douglas J. Steele

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.
 
A

Allen Browne

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top