Abstract: A method of creating a user defined function (UDF) in a data processing application program comprising inserting a formula into the application program; assigning a UDF identifier to said formula; and storing said UDF identifier in a complex function generator configured to call said formula responsive to a reference to said UDF identifier in the application program.