I have a macro saved under the Accss Macros menu.
I am trying to run this from VBA code through an onClick event.
I realise you can select the macro directly but I need to put in some code for other stuff so I'm directing it to run the code instead.
I use DoCmd.RunMacro(MacroName)
It doesn't seem to find the macro for some reason.
Do I have to add more parameters to the macroname bit ?
I am trying to run this from VBA code through an onClick event.
I realise you can select the macro directly but I need to put in some code for other stuff so I'm directing it to run the code instead.
I use DoCmd.RunMacro(MacroName)
It doesn't seem to find the macro for some reason.
Do I have to add more parameters to the macroname bit ?