How to run a function in another module

image description
image description

Hi please some help, I wish to call a sub or function like MainOne while in UpdateData. If this can be done are there any extra restrictions that do not apply to calling a local sub. Thankyou for any help. This is not essential but will ease the clutter.

I never use the Base application, but in the Calc and Writer applications I can call all of the functions an procedures located from any Modules of the Standard directory (of same File or the MyMacros).

Now I am confused. I tried it in My Macros and it worked as you said. Tried it in really simple way in the Data Base and it worked. Tried it in my original macros and it worked. just a simple call. I spent hours yesterday trying to get it work. Must be getting senile. Thanks for your help.