Best option would be to make a load of macros up which either contain your code (if short) or point to and load the code in Mach.
All you would then do is call your macro from MDI, it should load it then you can run it.
Or even make a custom screen page up with VB buttons that load and run your code depending on which button you choose.
Hood