I have a popup triggered with a right-click. The one option shown has as its "On Action" property "=MyFunction()". MyFunction is located in the code-sheet of the form for which the custom "Shortcut Menu Bar" is declared. E.g., the popup menu is named "R-Click" and the "Shortcut Menu Bar" in the form's property sheet specifies that popup. The code in the code sheet is simply:
Public Function MyFunction()
[snip]
End Function
A2003 claims it can't find the function.
Does the function need to be in a general module? If not, what am I missing?
Thanks,
Bill