G
Guest
I have a shortcut menu on a listbox that calls a macro. The macro passes the
listbox to a function via the RunCode command.
This works fine when my form is not a subform, but it doesn't work when I
place my form on another form (where it needs to be).
I've tried using [forms]![mainform]![subform]!listbox and a million other
combinations, but nothing is working.
There must be something tricky about sending a listbox, or other control
value to a macro when the macro is called from a subform, no?
Thanks.
listbox to a function via the RunCode command.
This works fine when my form is not a subform, but it doesn't work when I
place my form on another form (where it needs to be).
I've tried using [forms]![mainform]![subform]!listbox and a million other
combinations, but nothing is working.
There must be something tricky about sending a listbox, or other control
value to a macro when the macro is called from a subform, no?
Thanks.