Macro > VBA convert not work

TomS1954

New member
Local time
Today, 12:22
Joined
Apr 13, 2017
Messages
5
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?
 
DoCmd is not a switch to turn on or off.
now all vb/macros can be disabled in the Access options.
But if macros can run, then so can VB.
 
Is there a reason the Macro>VBA does not work in a working VBA? The entire line, starting with the DoCmd is red "out" It will not run as is.
 

Users who are viewing this thread

Back
Top Bottom