troubleshooting Question

Access 2007 msoControlButton Button IDs List needed

Avatar of WFBweb
WFBwebFlag for Afghanistan asked on
Microsoft Access
3 Comments2 Solutions3620 ViewsLast Modified:
I'm developing my first Access 2007 application after many years with Access and, I'm going crazy.  My current problem is with form shortcut menus.  I've found a method for doing this that includes the following  for a report shortcut print option.

        ' Add the Print command.
        Set cmbControl = .Controls.Add(msoControlButton, 2521, , , True)
        ' Change the caption displayed for the control.
        cmbControl.Caption = "Quick Print"

You'll see the number 2521.  It's a field called button ID.  I've searched and searched the web for a listing of available button ID's in order to find others I might want, but to no avail.  I'd appreciate it if you could point me to one?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros