- Local time
- Today, 07:41
- Joined
- Feb 19, 2002
- Messages
- 43,408
Does anyone know the trick to translating the old style menu commands to their Runcommand equivalents. The ObjectBrowser doesn't seem to help much.
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70
If I had A95 available I could open the menu and count down.
I'm pretty sure that the above translates to -
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdCopy
DoCmd.RunCommand acCmdPasteAppend
But that is only a guess because I know what the code is supposed to do.
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70
If I had A95 available I could open the menu and count down.
I'm pretty sure that the above translates to -
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdCopy
DoCmd.RunCommand acCmdPasteAppend
But that is only a guess because I know what the code is supposed to do.