I don't know about VBA code, but I've used this successfully for other areas where the user needs to make changes in code regularly.
If it's VFP6 you can use the 'compile at runtime' command to run the code. If it's VFP5 and there is more than a single line you'll have to parse each line and run it separately.
>I have some VBA code that formats an excel document and I would like to place said VBA code into a memo field and then kick it off after using a copy to type xl5. Does anyone know if it can be done?