
??Calling Sub-Menu_Click from Module Level Procedures???
: I have tried all the normal possible ways for calling Deal_Click from within
: the main form and it works, but how to call it from a Module level procedure
: some how escapes me. I would just change from a module level to a form level
: procedure but I can't it has to be in a module. The Menu Name is Game and the
: Sub-Menu is Called Deal and I want to calls the Deals Click Event and the
: forms name is just Form1 .... :) :)
: Mike
: Thanks in advance..
The best way to do this is put the code in the module and call that sub from
Deal_Click. If this won't work put a hidden button (set visable to false) on
the form and call Deal_Click from the click event of this button. When you
want to call Deal_Click from module level set the button's value to true
(Form1.Command1.Value = True) and this will triger the click event of the
button.
--
Gary Gilbert