Have access 2016. There is a button that converts macros into VBA resulting in various forms of the DOcmd.
Seems simple but finding that my Access 2016 does not recognize the DoCmd.
Is there something I need to fiddle with in Options or somewhere to make this work?