I have a command button on a subform whose on_click event is an embedded macro. The purpose is to delete/undo the associated record.
After that, I want to run another VBA procedure that is defined in the forms vb object:
In the embedded macro definition, I have added "RunMacro" and entered RunMacroTest as the procedure to run. I save everything, exit the design view and test. Nothing happens.Public Function RunMacroTest() MsgBox "A" End Function
How do you run a custom procedure after an embedded macro is run?
Thanks.