I am writing an application in which I want to enable the user to define variable names and enter formulas into text boxes on a form, which are then used within the code. It is to be used by ecologists in creating and testing simple ecosystem models. For example the user might enter 'Salinity' as the name of variable one, 'Sunlight' as variable two, 'Biomass' as the name of variable 3, and then define a relationship in a fourth text box such as 'Biomass = Biomass + Biomass * Sunlight / Salinity'. I can of course do this within the code, but how do I give the user control of the variable names and formulas? This is the last problem standing in the way of creating this application and and it has me stumped. My eternal gratitude goes to the person with the solution.