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?